Skip to main content

Get PyPi Package information.

Reason this release was yanked:

Temp files not purging which is causing results not being fetched

Project description

scrapypi is used to get pypi package information using python.

scrapypi can be used to get package version, name, licence, author, summary and package download statistics.

Insallation

python -m pip install scrapypi

Usage

Type scrapypi in terminal or command prompt to scrapypi file for getting downloads statistics. scrapypi can also be used in code.

$ scrapypi

Below are examples and functions and classes in scrapypi for data fetching.

from scrapypi import info, stats, licence

# Get package information. You can either get information using package name or package pypi url.

info(<package_name>) # returns a dictionary of information.

# Get package full statistics, including download values everyday of package upload, date and number of downloads.

statistics = stats(<package_name>)

statistics.dataset() # get all daily download counts of package in the year.

statistics.get_total() # get total number of downloads.

You can also get package name and version using the version function.

from scrapypi import version

version(<package_name>) # returns package name and version in a tuple. (name, version)

Use the version function if you need to get those information fast. But i recommend using the info function.

Use the main() function to run the scrapypi script for statistics fetcher.

:- Change Log -:

0.0.1 -- [ 16 JULY 2023 ]
[ NOTICE ]
[ ! ] - Initial Release

0.0.2 -- [ 16 JULY 2023 ]
[ FIXED ]
[+] - Import and Run

0.0.3 -- [ 17 JULY 2023 ]
[ ADDED ]
[+] Package download statistics
[+] More Package info

0.0.4 -- [ 18 JULY 2023 ]
[ FIXED ]
[+] - windows support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapypi-0.0.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

scrapypi-0.0.4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file scrapypi-0.0.4.tar.gz.

File metadata

  • Download URL: scrapypi-0.0.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for scrapypi-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5cbb856b475e9b99293bfda9c2f3416cbde896e9e9c15f8302dec142318e14ed
MD5 0085977cb28ea95884045e41883c52be
BLAKE2b-256 9ca86f3f74974610cf5d2da9b74e5b24c910c2a523178a43cbcaded9a5430d6c

See more details on using hashes here.

File details

Details for the file scrapypi-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: scrapypi-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for scrapypi-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fc991b721e2bcf81cfccd31c0f5c3e59aa3529ffc7be3c80db574c084a8548dd
MD5 8b8e9f1d1821752c4d92b6720de6d5c5
BLAKE2b-256 c963bf64fbafb39d13e66ada518d0f9af5e467158c6d4145c077ee6c42735236

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page