Harangued
Harangued is a small library for managing adding or removing additional lines to standard (and normally system) configuration files.
Harangued provides a context manager which can be used to manage your app additions to a configuration file which is common with other apps, including other apps using Harangued, or human editors and make changes to those config files in their own guarded sections.
Harangued can be used like this:
with Haranguer("/path/to/file") as my_lines:
for line in my_lines.data:
# Verify line
pass
my_lines.data.append("extra line")
This will result in a section being added to the config file like this.
Some config line
################## begin Block - Generated by Haranguer ##################
an existing config line
extra line
################## end Block - Generated by Haranguer ##################
Metadata
Release files for harangued 0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| harangued-0.11.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| harangued-0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / harangued-0.11.tar.gz
| Download URL | harangued-0.11.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9e0d9612b234c768ef7ddb2a512fbddb19a33cd78b84d6c82ef6d76ff9bcf4d
|
|
BLAKE2b-256 checksum How to use checksums |
643a69edd1986c5ca37d7a7b74b32b9a149e143c3d3c41ea63fbe9bb12d21ae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2024.
Transparency logRelease files / harangued-0.11-py3-none-any.whl
| Download URL | harangued-0.11-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dc035c70f674cd8f41a16cbba2fac9a11157592f01f4e32f6d16ff412ec5744
|
|
BLAKE2b-256 checksum How to use checksums |
09bc39c2702d7abceb43730ec7e5fb8da818e7b2c99164187802541e05404216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2024.
Transparency log