Safe netrc file parser
Project description
Safe Netrc
This package provides a subclass of the Python standard library
netrc.netrc
class to add some
custom behaviors.
-
If the
NETRC
environment variable is defined, then use it as the default netrc file path. -
Backport permissions checks that were added in Python 3.1 (see https://bugs.python.org/issue14984).
-
Apply permissions checks whether or or not we are reading from the default netrc file, and whether or not the file contains passwords.
Installation
pip install safe-netrc
Usage
>>> from safe_netrc import netrc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
safe-netrc-0.0.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for safe_netrc-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 161c18c7bed22c0be8a3d7e29801addedf85950d80663f3acdecc12c025d441d |
|
MD5 | f7900210c3ca5813c1b58ebe00bd2aca |
|
BLAKE2b-256 | 5861548209184fb77e6e57fbcc653f84f5b7be074c09329ba66e50360d35315d |