Skip to main content

Installation

$ [sudo] pip install pypi-simple-iter

Examples

import pypi_simple_iter

for slug, name in pypi_simple_iter.iter_projects():
    print(slug,name)

iterate from file:

import pypi_simple_iter
import requests

r = requests.get('https://pypi.org/simple/')
open('/tmp/simple.txt','w').write(r.text)
for slug, name in pypi_simple_iter.iter_projects_from_file('/tmp/simple.txt'):
    print(slug,name)
0 0
0-0 0-._.-._.-._.-._.-._.-._.-0
00000a 00000a
0-0-1 0.0.1
007 007
00print-lol 00print_lol
00smalinux 00SMALINUX
...

startswith

for slug, name in pypi_simple_iter.iter_projects(startswith='Django'):
    print(slug,name)
django Django
django10-enumfield django10-enumfield
django1-11-zebra django1.11-zebra
...

readme42.com

Metadata

Release files for pypi-simple-iter 2020.12.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypi-simple-iter 2020.12.3
File Size Uploaded Provenance Actions
pypi-simple-iter-2020.12.3.tar.gz 1.7 kB Without provenance Details for pypi-simple-iter-2020.12.3.tar.gz

Release files / pypi-simple-iter-2020.12.3.tar.gz

Download URL pypi-simple-iter-2020.12.3.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b9b2671ca6e8e41959b4399033445274d05f0c44e6c20772cc4f7a9da8d4a487
BLAKE2b-256 checksum
How to use checksums
fef66bdb5ab34baba5a4b4f14c3e3d108ef021372f33c8e959cf58aa1d14fa9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for pypi-simple-iter 2020.12.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page