Skip to main content

No project description provided

Project description

Tired of updating documentation?

This tool updates your README.md with a one line description for each of the python scripts in a directory you point it to (and recursively). It adds the text for lines that start with "Description: " and "Link: ". It ignores any that don't have the description.

The idea is that links should link to higher level documentation (if it exists).

This can be used as a pre-commit for python projects with standalone scripts for specific processes.

It will update in place if the # Scripts block exists or else it will append it to the end of the README.md

example_usage.py shows how to call the script from python.

Scripts

Name Description Link
example1.py This is an example file that links to my own github. Link
example2.py Some other description.
example3.py Link
example_usage.py
::

To install the package

pip install readme-update

Usage

Assuming its is run from this location.

root/
  scripts/
    example_script.py
  README.md

example_script.py

import readme_update
from pathlib import Path

path = Path(__file__)

readme_update.py_main(
    str(path.parent),
    str(path.parents[1] / "README.md")
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readme_update-0.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

readme_update-0.1.2-cp313-cp313-win_amd64.whl (782.7 kB view details)

Uploaded CPython 3.13Windows x86-64

readme_update-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

readme_update-0.1.2-cp313-cp313-macosx_11_0_arm64.whl (892.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

readme_update-0.1.2-cp312-cp312-win_amd64.whl (783.0 kB view details)

Uploaded CPython 3.12Windows x86-64

readme_update-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

readme_update-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (892.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

readme_update-0.1.2-cp311-cp311-win_amd64.whl (783.3 kB view details)

Uploaded CPython 3.11Windows x86-64

readme_update-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

readme_update-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (894.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

readme_update-0.1.2-cp310-cp310-win_amd64.whl (783.4 kB view details)

Uploaded CPython 3.10Windows x86-64

readme_update-0.1.2-cp310-cp310-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

readme_update-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (894.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file readme_update-0.1.2.tar.gz.

File metadata

  • Download URL: readme_update-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for readme_update-0.1.2.tar.gz
Algorithm Hash digest
SHA256 43a7fe44e85a2fb43f4cf236562e2ef5a9f0f1718f08e05d12bd19e9d0de655d
MD5 4313f517ecc21fffca4c26aaffda3d8a
BLAKE2b-256 462e9b550a36d9b41c826f74452ea3fc10896bd034b14e1337a405a2a1f0e2df

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2.tar.gz:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cef1b441f7078267862cd676b139b5c721807bff574794a4bfcb2e680c95eca8
MD5 2d9a06e3266dccff16805023c39a84c7
BLAKE2b-256 ba6317e05f3ec242b3d65eab797544bed8ca0bcb4657434ac49608e98c739784

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp313-cp313-win_amd64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c3879f8d1f19615f22b158ac31ae544d69ed324b1d647dcc96ad04ebf183afa0
MD5 402dea66d89f4bb1cc5653a88e8a441b
BLAKE2b-256 1d056bb4d6b74580864fae980843ae0f0ff69f9defe427f44f3893d256148c6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 08a5945a69434c5e85ec148bd83ef84b3120856f814ad98eb1c9dfa115c28d56
MD5 4b2171afa339b08809fa507ca7d6d786
BLAKE2b-256 7298e3423d1d3c0276767f8a1d4ec570b7f2aa58e1e21e42448c2bf3e7cf3b6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ea4f4f3beb31999907a7bb36c648244fff8403fddf23a3aa9161adbbbea321bb
MD5 cf010a72150e4fd6abd86e1d956f1b65
BLAKE2b-256 5e3c4b842b4da8f57de60d622283994b0ceee94e19499cb202e672a9c9ffb3a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp312-cp312-win_amd64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a93e91264a3b2e397e65199d4670ab1b25ea9cb97466edc1a1918bb25d6894da
MD5 824d2671bc04fd9efc10479da7f58caf
BLAKE2b-256 57ec7f59cc2c41fb95807a817060b417c3b49d4ce0c1ebd62945d601f17bb730

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6051c652d3508acc15914fc3239b241dc11f166ac079fec0cbccab36d7fab816
MD5 4d5ad1b32aec37f81043bc0c5bbb4fbb
BLAKE2b-256 2af6da832126f3a2914d3b92475a6033e3044374865ae1995d380464d121bc71

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 041dbf00332bb9f99c632f93fb3de0a2a64576d6f0a849cf59bbc4e9ce0674a8
MD5 af2a8b21b76b141f277fb3d12fd098a4
BLAKE2b-256 9d205aa68f6c416070acac4f8757efcf5acdea5f18376e47bb302b496dcebfe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp311-cp311-win_amd64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 95958f7d5f76f914d4b59f03faf12db71648470a9399e9c6867d6633b868dc3f
MD5 36a3d41d154345a197a77efc891f4e50
BLAKE2b-256 0f05d72249ce542de347fc0c245d395d3c154268272090efc2b648bba6077320

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 71bb1fe44d289d1ac773fb288882ebf2173d5a2f2317d505f76d7b8f88f06bb3
MD5 b0d21c1feebf6b902bb7c440ecf82012
BLAKE2b-256 af1d4180c309682c5008a3b3ce5c4ff3bc226e18cd0b8395a48338c7ce5486d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b8dd051d4645d838944876689ee2bdb3ba27d804b270031d54b8acd41e21507c
MD5 4d59271365404f2e5fe888695f614224
BLAKE2b-256 cf729dae2149627fd302f3e17b013c5d22b75989472aa2be344e4d234628f076

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp310-cp310-win_amd64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a3dd8e98bb3d91ff468e1f5bb740260dfc0a9adc7c4dc5df1ed4c860c75ed363
MD5 324366e153313ba9bc593a6d08b080f0
BLAKE2b-256 61ff46db6b392b11223017edb3cc6039aa125a2a21a1f05c0d4e05f048dfc1d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp310-cp310-manylinux_2_34_x86_64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file readme_update-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for readme_update-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ef3ebec733cb320a70d73b65ff2d4a5632a4aa54ec62c348f46e0e56932560b
MD5 03e29071fd655625d5727dda624b93a3
BLAKE2b-256 66138d68fc3c6c0d5ff98c12a97274fbbe0a6e504070c8e1e1cb1d82b9173022

See more details on using hashes here.

Provenance

The following attestation bundles were made for readme_update-0.1.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yaml on second-ed/readme-update

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page