PyHistory
App to maintain history file for your project.
- Free software: BSD license
- Source: https://github.com/beregond/pyhistory
- PyPI: https://pypi.python.org/pypi/pyhistory
- ReadTheDocs: https://pyhistory.readthedocs.io/en/latest/
PyHistory maintains history entries in distributed work environment, which allows many developers to add/remove history entries between releases without conflicts.
Installation
pip install pyhistory
Features
(All commands can start either with pyhistory or shortcut - pyhi.)
-
Add history entry:
pyhi add 'New feature' pyhi add Something
-
List history entries:
$ pyhi list * New feature * Something
-
Update your history file with entries for given release:
$ cat HISTORY.rst my project ========== 0.4.1 (2015-08-04) ++++++++++++++++++ * Added PyHistory to project. * Improved codebase. * Other features.
$ pyhi update 0.4.2 $ cat HISTORY.rst my project ========== 0.4.2 (2015-08-05) ++++++++++++++++++ * Bug fixes * Change in API * Removed old features 0.4.1 (2015-08-04) ++++++++++++++++++ * Added PyHistory to project * Improved codebase * Other features
-
Delete selected entries:
$ pyhi delete 1. New feature 2. Something 3. Another one 4. Wrong one (Delete by choosing entries numbers.) $ pyhi delete 2 4 $ pyhi list * New feature * Another one
-
Clear all history:
$ pyhi clear Do you really want to remove all entries? [y/N]: y
Or without prompt:
pyhi clear --yes
Config file
(setup.cfg has precedence over pyproject.toml for backward compatibility!)
You can adjust Pyhistory behaviour to your needs by adding config to pyproject.toml file:
[tool.pyhistory]
history_dir = "some_dir" # 'history' by default
history_file = "myhistory.md" # 'HISTORY.rst' by default
at_line = 42 # by default history will be injected after first headline
You can also add config to setup.cfg file. Just put pyhistory section in there:
[pyhistory]
history_dir = some_dir
history_file = myhistory.rst
at_line = 42
Differences in formatting
If you are using markdown format you must note that:
- Lines are not wrapped, setting for line length is ignored
- There is extra config for markdown formatting -
md_header_level(default is 2) and it sets amount of#in headline for version
Metadata
Release files for pyhistory 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyhistory-2.3.1.tar.gz | 21.1 kB | With provenance | Details for pyhistory-2.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhistory-2.3.1-py3-none-any.whl | Python 3 | none | any | Details for pyhistory-2.3.1-py3-none-any.whl |
Total release size: 29.3 kB
Release files / pyhistory-2.3.1.tar.gz
| Download URL | pyhistory-2.3.1.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
415aea984dc319aceb3751c9e820bf93c9c24fb95dffb6d0b0c48e8c98a8c20e
|
|
BLAKE2b-256 checksum How to use checksums |
a3c36da629c2f4c8c947fa74dc6fe3b7d48d91ec494db4a1204769cf05436a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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, 2026.
Transparency logRelease files / pyhistory-2.3.1-py3-none-any.whl
| Download URL | pyhistory-2.3.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c5def4e704efd6eab29282489017d8c1cebf207de3b99898ea3c878c8cf0734
|
|
BLAKE2b-256 checksum How to use checksums |
64a0b6efc471987d31d9922d78a572b8f9ddbb27cac6c12126f05a00f18b42fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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, 2026.
Transparency logSecurity for pyhistory 2.3.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyhistory-2.3.1.tar.gz
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, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.