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, 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.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

write_pypistat-0.5.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: write-pypistat-0.5.2.tar.gz
  • Upload date:
  • Size: 10.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.5.2.tar.gz
Algorithm Hash digest
SHA256 bb83dd7be21501f61bed6c172e1cd8da8fbd4d484ba8f2e351fcd721111a1464
MD5 6b2d4d9a547c766c26f56bfa692d8224
BLAKE2b-256 8a66586f08250fee48d6ca0bec3ca11bd0aead8e1567a52acf886f1b973a8e3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for write_pypistat-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11a271a808ff8a691697b263e3799553d6b9ca1f9f768d67b31b8cafd371e761
MD5 e3fc9f761dc6c4de0e335b08a84d9b70
BLAKE2b-256 a812205c57bb5febd34c9f1bbfb016d80fd4fcadc21247b5c750ad525a6fd86c

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