Metadata-Version: 2.1
Name: pypi-simple-iter
Version: 2019.4.14
Summary: pypi simple https://pypi.org/simple/ iterator
Home-page: https://github.com/andrewp-as-is/pypi-simple-iter.py
License: Unlicense
Description: <!--
        https://pypi.org/project/readme-generator/
        https://pypi.org/project/python-readme-generator/
        -->
        
        [![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
        
        #### Installation
        ```bash
        $ [sudo] pip install pypi-simple-iter
        ```
        
        #### Examples
        ```python
        import pypi_simple_iter
        
        for slug, name in pypi_simple_iter.iter_projects():
            print(slug,name)
        ```
        
        iterate from file:
        ```python
        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`
        ```python
        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
        ...
        ```
        
        #### Links
        +   [Simple Index](https://pypi.org/simple/)
        +   [Simple Project API](https://warehouse.pypa.io/api-reference/legacy/#simple-project-api)
        
        <p align="center">
            <a href="https://pypi.org/project/python-readme-generator/">python-readme-generator</a>
        </p>
Keywords: pypi,simple
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
