Skip to main content

write-pypistat makes it easy to collect, filter and save pypi statistics to csv files.

Project description

PyPI version CI-CD

About The Project

write-pypistat makes it easy to collect, filter and save pypi statistics to csv files.

Installation

write-pypistat requires pypistats, numpy and pandas packages.

pip install write-pypistat

Usage

from writepypistat import WritePypiStat

target_package = "pypistats"
csv_dir = "stats/pypistats"
write_pypistat = WritePypiStat(package_name=target_package, outdir=csv_dir)

write_pypistat.write_pypistat(
    stat_type="system",
    start_date="2021",
    end_date="2022-03",
)

write_pypistat.date_period = "month"
write_pypistat.write_pypistat(
    stat_type="overall",
    start_date="2022-01",
    end_date="2022-04-15",
)

Visit our documentation site for code reference or our wiki site for a step-by-step tutorial into write-pypistat.

Contributing

We welcome contributions to the project, visit our contributing guide for further info.

Contact

Join our discussions page if you have any questions or comments.

License

Copyright © 2022.

Released under the Apache 2.0 License.

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

write-pypistat-0.5.4.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

write_pypistat-0.5.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file write-pypistat-0.5.4.tar.gz.

File metadata

  • Download URL: write-pypistat-0.5.4.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for write-pypistat-0.5.4.tar.gz
Algorithm Hash digest
SHA256 11de3196e2a8c2384997a1246c1c0366df044ff8f427019833d1ecd6975321a9
MD5 8983012b31ff9aa435c8ec44c9c7ae7c
BLAKE2b-256 76ed34463cb570929b8fe1243f5f7a4d78885450072e9f51f6a2458c4da2243d

See more details on using hashes here.

File details

Details for the file write_pypistat-0.5.4-py3-none-any.whl.

File metadata

File hashes

Hashes for write_pypistat-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce0982638b31dd8aca7760d40ecf2663a119900a1104a52d6a95b2d6916497be
MD5 7f0efa64e7378c1fa66447f30bbbc6b5
BLAKE2b-256 dcf0e199662adebd3ac145a3cd0979115056c972c6dbb18532d8ad9a73ccbac5

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