{"id":18084832,"url":"https://github.com/jwodder/pypi-simple","last_synced_at":"2025-04-04T20:14:23.726Z","repository":{"id":41156352,"uuid":"146808477","full_name":"jwodder/pypi-simple","owner":"jwodder","description":"PyPI Simple Repository API client library","archived":false,"fork":false,"pushed_at":"2025-03-24T01:38:15.000Z","size":352,"stargazers_count":39,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T19:11:24.766Z","etag":null,"topics":["available-on-pypi","packages","pep503","pip","pypi","python","simple-repository-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-30T21:27:48.000Z","updated_at":"2025-01-23T14:38:06.000Z","dependencies_parsed_at":"2024-02-05T17:49:28.526Z","dependency_job_id":"ba981e9a-799f-417f-b77e-945ec4015131","html_url":"https://github.com/jwodder/pypi-simple","commit_stats":{"total_commits":194,"total_committers":1,"mean_commits":194.0,"dds":0.0,"last_synced_commit":"d4fbe19b854224e87e14bef7722bab57a08750ce"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fpypi-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fpypi-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fpypi-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fpypi-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/pypi-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"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","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":["available-on-pypi","packages","pep503","pip","pypi","python","simple-repository-api"],"created_at":"2024-10-31T15:08:23.372Z","updated_at":"2025-04-04T20:14:23.702Z","avatar_url":"https://github.com/jwodder.png","language":"Python","readme":"|repostatus| |ci-status| |coverage| |pyversions| |license|\n\n.. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg\n    :target: https://www.repostatus.org/#active\n    :alt: Project Status: Active — The project has reached a stable, usable\n          state and is being actively developed.\n\n.. |ci-status| image:: https://github.com/jwodder/pypi-simple/actions/workflows/test.yml/badge.svg\n    :target: https://github.com/jwodder/pypi-simple/actions/workflows/test.yml\n    :alt: CI Status\n\n.. |coverage| image:: https://codecov.io/gh/jwodder/pypi-simple/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/jwodder/pypi-simple\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/pypi-simple.svg\n    :target: https://pypi.org/project/pypi-simple/\n\n.. |license| image:: https://img.shields.io/github/license/jwodder/pypi-simple.svg\n    :target: https://opensource.org/licenses/MIT\n    :alt: MIT License\n\n`GitHub \u003chttps://github.com/jwodder/pypi-simple\u003e`_\n| `PyPI \u003chttps://pypi.org/project/pypi-simple/\u003e`_\n| `Documentation \u003chttps://pypi-simple.readthedocs.io\u003e`_\n| `Issues \u003chttps://github.com/jwodder/pypi-simple/issues\u003e`_\n| `Changelog \u003chttps://github.com/jwodder/pypi-simple/blob/master/CHANGELOG.md\u003e`_\n\n``pypi-simple`` is a client library for the Python Simple Repository API as\nspecified in :pep:`503` and updated by :pep:`592`, :pep:`629`, :pep:`658`,\n:pep:`691`, :pep:`700`, :pep:`708`, :pep:`714`, and :pep:`740`.  With it, you\ncan query `the Python Package Index (PyPI) \u003chttps://pypi.org\u003e`_ and other `pip\n\u003chttps://pip.pypa.io\u003e`_-compatible repositories for a list of their available\nprojects and lists of each project's available package files.  The library also\nallows you to download package files and query them for their project version,\npackage type, file digests, ``requires_python`` string, PGP signature URL, and\nmetadata URL.\n\nSee `the documentation \u003chttps://pypi-simple.readthedocs.io\u003e`_ for more\ninformation.\n\n\nInstallation\n============\n``pypi-simple`` requires Python 3.8 or higher.  Just use `pip\n\u003chttps://pip.pypa.io\u003e`_ for Python 3 (You have pip, right?) to install it::\n\n    python3 -m pip install pypi-simple\n\n``pypi-simple`` can optionally make use of tqdm_.  To install it alongside\n``pypi-simple``, specify the ``tqdm`` extra::\n\n    python3 -m pip install \"pypi-simple[tqdm]\"\n\n.. _tqdm: https://tqdm.github.io\n\n\nExamples\n========\n\nGet information about a package:\n\n\u003e\u003e\u003e from pypi_simple import PyPISimple\n\u003e\u003e\u003e with PyPISimple() as client:\n...     requests_page = client.get_project_page('requests')\n\u003e\u003e\u003e pkg = requests_page.packages[0]\n\u003e\u003e\u003e pkg.filename\n'requests-0.2.0.tar.gz'\n\u003e\u003e\u003e pkg.url\n'https://files.pythonhosted.org/packages/ba/bb/dfa0141a32d773c47e4dede1a617c59a23b74dd302e449cf85413fc96bc4/requests-0.2.0.tar.gz'\n\u003e\u003e\u003e pkg.project\n'requests'\n\u003e\u003e\u003e pkg.version\n'0.2.0'\n\u003e\u003e\u003e pkg.package_type\n'sdist'\n\u003e\u003e\u003e pkg.digests\n{'sha256': '813202ace4d9301a3c00740c700e012fb9f3f8c73ddcfe02ab558a8df6f175fd'}\n\nDownload a package with a tqdm progress bar:\n\n.. code:: python\n\n    from pypi_simple import PyPISimple, tqdm_progress_factory\n\n    with PyPISimple() as client:\n        page = client.get_project_page(\"pypi-simple\")\n        pkg = page.packages[-1]\n        client.download_package(\n            pkg, path=pkg.filename, progress=tqdm_progress_factory(),\n        )\n\n`See more examples in the docs.`__\n\n__ https://pypi-simple.readthedocs.io/en/stable/examples.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fpypi-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fpypi-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fpypi-simple/lists"}