https://github.com/enthought/enstaller4rc
Small, self-contained library to parse legacy `.enstaller4rc` content without depending on enstaller
https://github.com/enthought/enstaller4rc
Last synced: 8 months ago
JSON representation
Small, self-contained library to parse legacy `.enstaller4rc` content without depending on enstaller
- Host: GitHub
- URL: https://github.com/enthought/enstaller4rc
- Owner: enthought
- License: other
- Created: 2016-03-23T15:20:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T09:16:43.000Z (about 10 years ago)
- Last Synced: 2024-12-27T02:42:34.172Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 31
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
.. image:: https://travis-ci.org/enthought/enstaller4rc.png
:target: https://travis-ci.org/enthought/enstaller4rc
This is a small library to read an existing `.enstaller4rc` file without
importing enstaller.
This supports `.enstaller4rc` from the 4.6.X series until 4.8.X. It only
supports parsing configuration, and purposedly does not support modifying it.
Example::
from enstaller4rc import Configuration
config = Configuration.from_file(".enstaller4rc")
print(config.auth)
print(config.use_pypi)
print(config.indexed_repositories)