{"id":16505312,"url":"https://github.com/veghdev/write-pypistat","last_synced_at":"2025-10-15T15:28:58.206Z","repository":{"id":40468589,"uuid":"482460299","full_name":"veghdev/write-pypistat","owner":"veghdev","description":"write-pypistat makes it easy to collect, filter and save pypi statistics to csv files.","archived":false,"fork":false,"pushed_at":"2023-06-04T09:04:42.000Z","size":164,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T21:12:24.373Z","etag":null,"topics":["csv","pypi","pypistats","python","stat"],"latest_commit_sha":null,"homepage":"https://veghdev.github.io/write-pypistat/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veghdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-17T07:47:42.000Z","updated_at":"2022-08-04T16:56:20.000Z","dependencies_parsed_at":"2025-01-12T12:49:21.950Z","dependency_job_id":null,"html_url":"https://github.com/veghdev/write-pypistat","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/veghdev/write-pypistat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veghdev%2Fwrite-pypistat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veghdev%2Fwrite-pypistat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veghdev%2Fwrite-pypistat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veghdev%2Fwrite-pypistat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veghdev","download_url":"https://codeload.github.com/veghdev/write-pypistat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veghdev%2Fwrite-pypistat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279086860,"owners_count":26100256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","pypi","pypistats","python","stat"],"created_at":"2024-10-11T15:10:31.470Z","updated_at":"2025-10-15T15:28:58.160Z","avatar_url":"https://github.com/veghdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/write-pypistat.svg)](https://badge.fury.io/py/write-pypistat)\n[![CI-CD](https://github.com/veghdev/write-pypistat/actions/workflows/cicd.yml/badge.svg?branch=main)](https://github.com/veghdev/write-pypistat/actions/workflows/cicd.yml)\n\n\n# About The Project\n\nwrite-pypistat makes it easy to collect, filter and save pypi statistics to csv files.\n\n# Installation\n\nwrite-pypistat requires `pypistats`, `numpy` and `pandas` packages.\n\n```sh\npip install write-pypistat\n```\n\n# Usage\n\n```python\nfrom writepypistat import WritePypiStat\n\ntarget_package = \"pypistats\"\ncsv_dir = \"stats/pypistats\"\nwrite_pypistat = WritePypiStat(package_name=target_package, outdir=csv_dir)\n\nwrite_pypistat.write_pypistat(\n    stat_type=\"system\",\n    start_date=\"2021\",\n    end_date=\"2022-03\",\n)\n\nwrite_pypistat.date_period = \"month\"\nwrite_pypistat.write_pypistat(\n    stat_type=\"overall\",\n    start_date=\"2022-01\",\n    end_date=\"2022-04-15\",\n)\n```\n\nVisit our [documentation](https://veghdev.github.io/write-pypistat/) site for code reference or \nour [wiki](https://github.com/veghdev/write-pypistat/wiki/) site for a step-by-step tutorial into write-pypistat.\n\n# Contributing\n\nWe welcome contributions to the project, visit our [contributing](https://github.com/veghdev/write-pypistat/blob/main/CONTRIBUTING.md) guide for further info.\n\n# Contact\n\nJoin our [discussions](https://github.com/veghdev/write-pypistat/discussions) page if you have any questions or comments.\n\n# License\n\nCopyright © 2022.\n\nReleased under the [Apache 2.0 License](https://github.com/veghdev/write-pypistat/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveghdev%2Fwrite-pypistat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveghdev%2Fwrite-pypistat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveghdev%2Fwrite-pypistat/lists"}