$npx skillfedfor your agent

tinynetrc

Read and write .netrc files.

With conditionsPyPI UtilitiesReleased Aug 2021282.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tinynetrc-1.3.1-py2.py3-none-any.whl
v1.3.1 · released 2021-08-15

Yes, if you need to read or write .netrc files and are on a stable Python version (2.7, 3.5–3.7 as listed). No, if you require active maintenance or plan to upgrade to newer Python versions soon—the package is abandoned and will not receive updates. For modern Python, check whether the standard library bug is fixed in your version before choosing this package.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires ~/.netrc file to exist; standard library netrc module is used under the hood.
  • Low friction installation with no runtime dependencies.
  • Maintenance is abandoned—last release was 2021-08-15 and last commit 2022-08-17—so expect no updates for bugs or Python version changes.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2021-08-15 (1825 days) · last repo commit 2022-08-17 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 282,657 downloads/mo, #8,085 on PyPI

Verify before relying

pip install tinynetrc

from tinynetrc import Netrc

netrc = Netrc()  # parse ~/.netrc
password = netrc['api.heroku.com']['password']
netrc['api.heroku.com']['password'] = 'newpassword'
netrc.save()
  • Whether the package still works reliably on Python versions released after 2022-08-17.
  • Current compatibility with modern Python 3.x versions beyond those listed in classifiers.
Same gist for agents: .md · .json

What it is and what it does

tinynetrc wraps Python's standard library netrc module to read and write .netrc credential files with a simpler, dictionary-based interface. It addresses a standard library bug in .netrc formatting and adds write functionality that the standard module lacks. The package parses .netrc entries into dictionaries instead of tuples, making credential access more intuitive.

You use it to load your .netrc file, read or modify stored credentials for remote hosts, and save changes back to disk. It supports context manager usage for automatic saving. The package has no external dependencies and installs with low friction, but maintenance has been abandoned since mid-2022, so it will not receive updates for newer Python versions or bug fixes.

Use it for

  • Programmatically read stored credentials from ~/.netrc for API authentication in scripts.
  • Modify or add credentials to .netrc and persist them without manual file editing.
  • Manage multiple host credentials in a single Python session using dictionary access.
  • Work around the standard library netrc formatting bug on older Python versions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to read or write .netrc files and are on a stable Python version (2.7, 3.5–3.7 as listed).

No, if you require active maintenance or plan to upgrade to newer Python versions soon—the package is abandoned and will not receive updates. For modern Python, check whether the standard library bug is fixed in your version before choosing this package.

Install

tinynetrc on PyPI

Before you install

Low friction installation with no runtime dependencies. Maintenance is abandoned—last release was 2021-08-15 and last commit 2022-08-17—so expect no updates for bugs or Python version changes.

Requires ~/.netrc file to exist; standard library netrc module is used under the hood.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install tinynetrc

from tinynetrc import Netrc

netrc = Netrc()  # parse ~/.netrc
password = netrc['api.heroku.com']['password']
netrc['api.heroku.com']['password'] = 'newpassword'
netrc.save()

Verify before relying

  • Whether the package still works reliably on Python versions released after 2022-08-17.
  • Current compatibility with modern Python 3.x versions beyond those listed in classifiers.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,825 days since the last release
Last repo commit
First released
Downloads282,657 / month, #8,085 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPython

Evidence: tinynetrc-1.3.1-py2.py3-none-any.whl

Tags

Capabilities
netrc file parserread write netrccredential file management.netrc pythonposix netrc handlernetrc dictionary access
Topics
credentialsposix
PyPI keywords
netrcposix

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “read write netrc”

  • tinynetrcRead, parse, and write .netrc credential files with dictionary-style…
  • safe-netrcProvides a safer subclass of Python's standard netrc parser that…
  • drf-rw-serializersExtends Django REST Framework with separate read and write…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also safe-netrc · docker-pycreds · git-credentials · credstash · authcaptureproxy · uproot3 · keyring · environs · robocorp-vault · intelhex