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.1.tar.gz
(10.8 kB
view hashes)
Built Distribution
safe_netrc-1.0.1-py3-none-any.whl
(10.9 kB
view hashes)
Close
Hashes for safe_netrc-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0dd6a5e304b1da3be220f15efedbf09e50779fe90462143c228c781b9d8218 |
|
MD5 | 39bb684e1cf22f903a24f65b356a0172 |
|
BLAKE2b-256 | 262ab5b09ff2781c7ea694b337f65f52a00319396578c049af8890ff9b4b8232 |