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
Notes for software packaging
Software packaging files exist for the following systems:
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-1.0.0.tar.gz
(26.0 kB
view hashes)
Built Distribution
Close
Hashes for safe_netrc-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5011368564eabd3accc196e499de111e4403c29f48eb6c60a3141b6ad507eb50 |
|
MD5 | 8c77caac86e415faae2c2e642082a89b |
|
BLAKE2b-256 | 0af7e80af54b451dc4bea13f81ef21e9dc11bfbcdb24568314c02fd777f96ba3 |