Atention
Distro specific releases deprecated
I won't be doing distro specific releases anymore (aka no .rpm and .pacman packages anymore), but pynps will still be distributed as binary here and it's now available at [pypi](https://pypi.org/project/pynps/), therefore it can also be installed with pip:
>pip install pynps
New database system
Starting with this release pynps will use [SqliteDict](https://github.com/RaRe-Technologies/sqlitedict) for all its database operations.
Strides were made in improving database performance in this release, with some drawbacks:
TL;DR: search is now way faster, updating database is now slower.
- Cons
* updating database 6x slower: updating the entire database will take ~172 seconds versus ~30 seconds in last release.
- Pros
* reading from the database is 17x faster: reading the entire database will take ~0.3 seconds versus ~4.9 seconds in last release;
* reading and printing the database is 8x faster: reading the entire database will take ~8 seconds versus ~60 seconds in last release;
The entire database now resides in a single file inside `/home/$USER/.config/pyNPS/database/pynps.db`
Optional manual intervention needed
The user should delete every folder inside `/home/$USER/.config/pyNPS/database/`, since the .tsv files there are deprecated.
Changelog
Note: the [README.md](https://github.com/evertonstz/pynps/blob/master/README.md) got updated to document the new features.
- new arguments
--games could be called with -dg, now you can also use -G
--dlcs could be called with -dd, now you can also use -D
--themes could be called with -dt, now you can also use -T
--updates could be called with -du, now you can also use -U
--demos could be called with -dde, now you can also use -E
Now the user can more easily do searches like this (more info on README.md):
this searches for sonic games and demos in the psvita database
>pynps -GEc psv sonic
- add support for multiple region inputs e41058b7573f83dde10593d73925225052393769
the following command was how the app worked before this update, this still applies for this new version
this will search for sonic in the psvita american database
>pynps -c psv -r usa sonic
this is new, the --region/-r argument can be called multiple times
this will search for sonic in the psvita american and japanese database
>pynps -c psv -r usa -r jap sonic
- add support for selective database updating 558dd14104629ab035d0060c3fb8ec15892fd359 2919e10b8c85d550a13c38a66930f7fe14748bb8
the following command was how the app worked before this update, this still applies for this new version
this will update the entire database, for every system
>pynps -u
this is kinda new, before you could update a single system at a time
this will update the entire database, for psp and psv
>pynps -u -c psp -c psv
this is new
this will update only the game and dlc database for psvita
>pynps -u -c psv -G -T
Or:
>pynps -GTuc psv
- implements SqliteDict c80e39002d9aca973dc291511146462d5432dbe3 to 558dd14104629ab035d0060c3fb8ec15892fd359
- remove support for search after updating database for security reasons 47acbabd03388a1162e8456f0872ebd024005328
binary packed with [pyinstaller](https://www.pyinstaller.org/)