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.5.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for write-pypistat-0.5.5.tar.gz
Algorithm Hash digest
SHA256 22e4082357268cb953c80bfc6855e8d2f42b8617a29bcbceccd6b60976bcf074
MD5 62e22142c0d98608b18b8a9c5e0476f5
BLAKE2b-256 9c8b5e1ad3d3aa5f41150e73f5f16e8ada8cd2fbf2196e27821c58e3a45d4dae

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for write_pypistat-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f0677510470f77344a4c93e445b1dcec8af286dd176396c6c4250e1dc9013f83
MD5 1157a3115c5a698992f58e482496f89b
BLAKE2b-256 18f60560285e995907a1e0a227164ebd23b836d6d6386bbde3c6c133aded8006

See more details on using hashes here.

Provenance

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