Pynps

Latest version: v1.6.2.post2

Safety actively analyzes 626363 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.4.1

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Changelog

- add --print/-p argument, with this argument pynps will print (encoded in unicode, to avoid issues with cmd and terminal with strange characters) any search you make and exit, it's ideal for people looking to redirect a search into a text file ba15ea7e494c27148d6c81433b7af35934530130


the following will search for all games in psvita and redirect the output to output.txt
pynps -Gpc psv _all > output.txt

the following will search for all spyro games and dlcs in psp and redirect the output to spyro.txt
pynps -GDpc psp spyro > spyro.txt

or you can just print the above without saving the output
pynps -GDpc psp spyro

A video on the new feature:
[![asciicast](https://asciinema.org/a/kTcLs0LpEwZoqG4LcUZ1k6ALU.svg)](https://asciinema.org/a/kTcLs0LpEwZoqG4LcUZ1k6ALU)
binaries packed with [pyinstaller](https://www.pyinstaller.org/)

1.4.0

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Windows binary available
There's now a 64bits Windows binary available for download, you'll neet to get a 64bits wget.exe from [here](https://eternallybored.org/misc/wget/) or any other place you wish, you'll also need to grab the latest pkg2zip_64bit.zip from [lusid1's releases](https://github.com/lusid1/pkg2zip/releases). Here's what you'll need to do:

Extract the windows .zip release to any folder you wish, open the extracted folder and drop wget.exe and pkg2zip.exe inside the `pynps_config/lib/` subfolder! All you need now is run pynps.exe from CMD, you might also want add pynps.exe to your PATH so you can run it with "pynps" command, [here's a good tutorial](https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access)

Easily stop and resume downloads!
It's now possible to save a download session to be resumed latter using the -R/--resume argument, more info in this video (I'll also upload some videos for the README.md tutorials):
[![asciicast](https://asciinema.org/a/ejP7umPphXTSxiYKBi8JiCOgF.svg)](https://asciinema.org/a/ejP7umPphXTSxiYKBi8JiCOgF)
The database file that keeps up with your downloads is inside `/home/$USER/.config/pyNPS/database/downloads.db`, in case something goes wrong you can delete it and always open an issue here on github!

A change of flow...
Before ths update pynps work would flow like this:
Assuming you're downloading 1)sonic, 2)crash and 3)spyro:
* Downloads 1 -> Checksum 1 -> Download 2 -> Checksum 2 -> Download 3 -> Checksum 3 -> Extract 1 -> Extract 2 -> Extract 3

From this and future updates, due to changes realted to resuming downloads (and keeping up with what was downloaded or not), it now flows like this:
* Downloads 1 -> Checksum 1 -> Extract 1 -> Downloads 2 -> Checksum 2 -> Extract 2 -> Downloads 3 -> Checksum 3 -> Extract 3

Changelog

- fixes phantom folders being created inside `/home/$USER/.config/pyNPS/database/` ac01106e30e945c3ed9ad5ba01c5481851390de8
- ignores cart-only games, since they can't be downloaded 99a4775ff0951794d4b710946bf7c064da683630
- some typing errors d27fabdde816eb6f828b11d034a0e7543ad88b67
- resume download implementation 5f2625697d275d40252211c414a5270970afbebb
- windows support 48a4c4e9d7c7dac88b6034cd171ade3ba415ec25 74f170b0b14d4e2552566f35a8ebb9892f077560
- closes 4

binaries packed with [pyinstaller](https://www.pyinstaller.org/)

1.3.1

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Changelog
- fixes bug with prompt toolkit not being apple to print some special characters, [special thanks to the guys over their github repo](https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1019) 40d1593d78404b68244e2ee2d122760be1370bdb

binary packed with [pyinstaller](https://www.pyinstaller.org/)

1.3.0

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Changelog
- add support for download speed limit, the new argument is -l or --limit_rate 67549cce52aab6e61d1153365bc59a4c4e3a4775

uses the same syntax as wget
the following command will limit the download speed at 50kbps
you can use m for mbps, g ofr gbps and t for tbps
>pynps -c psv -G -l 50k sonic

- pynps will now delete a successfully extracted .pkg, users can use the new argument -k or --keepkg if he/she is interested in keeping the .pkg file acddd29c053da7a98cd482202ec06bf82770d84a
- makes pkg2zip not obligatory to run the program, extraction and .pkg deletion will be skipped in this case 09313a88801aecf889cb873da0258c5ad9d941b5


binary packed with [pyinstaller](https://www.pyinstaller.org/)

1.2.1

Bugfix release
Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Changelog
- fixes bug were the lib folder would be created at `/home/$USER/.config/pyNPSlib` instead of `/home/$USER/.config/pyNPS/lib` b5607a093802585c4bb2a6dcdc65a9b7f1f1ab7e
* Make sure to remove `/home/$USER/.config/pyNPSlib` in case you were affected.
- adds a workaround for a current bug in prompt toolkit were some symbols like "&" would break the HTML implementation for colors 6f6b9197d03cc42ce02e4939f6863ba4bd0dd0a9
- prevent app from runing without a database file c6681bec51b33c5b909eef8d66425b90556bc6e8
- gracefully exit with control+c when wget is downloading, explain to the user about paused download

binary packed with [pyinstaller](https://www.pyinstaller.org/)

1.2.0

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/)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.