Metadata-Version: 1.1
Name: zerotk.url2env
Version: 1.2.1
Summary: Produces env vars from Heroku-style database URLs
Home-page: https://github.com/zerotk/url2env
Author: Alexandre Andrade
Author-email: kaniabi@gmail.com
License: MIT
Description: url2env
        =======
        
        Turns Heroku-style database URLs into shell environment variables.
        
        Currently only produces ``psql``-compatible envs from ``postgres://`` URLs.
        
        Example::
        
            $ url2env psql://joebloggs:secret@db.example.com:4433/blog
            PGUSER=joebloggs
            PGPASSWORD=secret
            PGHOST=db.example.com
            PGPORT=4433
            PGDATABASE=blog
        
        The output could be used in conjunction with `env`, e.g.::
        
            $ env $(url2env $SOME_DB_URL) psql
        
        Installation instructions
        -------------------------
        
        ::
        
            $ pip install url2env
        
        Distribution instructions
        -------------------------
        
        ::
        
            $ git tag <x.y>
            $ make dist upload
        
Keywords: postgresql shell environment
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
