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
NETRCenvironment 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file safe-netrc-1.0.1.tar.gz.
File metadata
- Download URL: safe-netrc-1.0.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dcc7263b4d9ce72e0109d8e2bc9ba89c8056ccc618d26c8c94802c6fd753720
|
|
| MD5 |
81c4eadd33350a46f39e091d7f5ede65
|
|
| BLAKE2b-256 |
e4f1fb3c8ccd4a8963d7400cfd80100d5ae7fd95d49ace3a6722736bb4c1c1a6
|
File details
Details for the file safe_netrc-1.0.1-py3-none-any.whl.
File metadata
- Download URL: safe_netrc-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f0dd6a5e304b1da3be220f15efedbf09e50779fe90462143c228c781b9d8218
|
|
| MD5 |
39bb684e1cf22f903a24f65b356a0172
|
|
| BLAKE2b-256 |
262ab5b09ff2781c7ea694b337f65f52a00319396578c049af8890ff9b4b8232
|