Skip to main content

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

Project description

PyPI version CI

About The Project

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

Installation

write-pypistat requires pypistats and pandas packages.

pip install write-pypistat

Usage

from writepypistat import WritePypiStat

target_package = "pypistats"
csv_dir = "stats/pypistats"
write_pypistat = WritePypiStat(target_package, 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.3.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

write_pypistat-0.3.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: write-pypistat-0.3.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for write-pypistat-0.3.1.tar.gz
Algorithm Hash digest
SHA256 cb2e81870795adf2817d29667f08e8ba868729100c3b091a8c47b71e75872896
MD5 3f63855eed57644b82f9a39c07189bd2
BLAKE2b-256 f4c92e15d3ec5be9ea75d0289e16af82fc719a893ddfea2a0f58ea0b73eef496

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for write_pypistat-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 069c4761b1907e7dc87c9477e3bbe64591e1a6461e54c68a0c023c2bcc86ff95
MD5 5d8eec69eac0dab8bf1d9e395c15a0d2
BLAKE2b-256 cb09468c358d2edda5fe4341f963c27061c84e5b371f632c3acf44cb1b7f41ef

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