Skip to main content

Building newsfiles for your project.

Project description

Documentation License: MIT PyPI release

towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your project.

Rather than reading the Git history, or having one single file which developers all write to and produce merge conflicts, towncrier reads “news fragments” which contain information useful to end users.

Used by Twisted, pytest, pip, BuildBot, and attrs, among others.

While the command line tool towncrier requires Python to run, as long as you don’t use any Python-specific affordances (like auto-detection of the project version), it is usable with any project type on any platform.

Philosophy

towncrier delivers the news which is convenient to those that hear it, not those that write it.

That is, by duplicating what has changed from the “developer log” (which may contain complex information about the original issue, how it was fixed, who authored the fix, and who reviewed the fix) into a “news fragment” (a small file containing just enough information to be useful to end users), towncrier can produce a digest of the changes which is valuable to those who may wish to use the software. These fragments are also commonly called “topfiles” or “newsfiles”.

towncrier works best in a development system where all merges involve closing a ticket.

To get started, check out our tutorial!

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

towncrier-23.10.0.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

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

towncrier-23.10.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file towncrier-23.10.0.tar.gz.

File metadata

  • Download URL: towncrier-23.10.0.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for towncrier-23.10.0.tar.gz
Algorithm Hash digest
SHA256 8754e96264b55beca526a8ee77a3cc7b2170cfb2411f53eb6ac42e183ac96a17
MD5 93f7e3cd871a1f222f39b28f4a6af12d
BLAKE2b-256 1f4e493999a12116087ca085c6aa72a98c848e2ece569d7b542c59dde8dfbe64

See more details on using hashes here.

File details

Details for the file towncrier-23.10.0-py3-none-any.whl.

File metadata

  • Download URL: towncrier-23.10.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for towncrier-23.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc633438cb218e3c1fb502e8cd5d78fe7429276fa791ae36f6c8017fdbabb905
MD5 17c4e2b61129a4dc3ff299aea160f83b
BLAKE2b-256 b77b1ce881dc4d1154672bc81307ebc8d1784b4e788bce1781646be81bb90315

See more details on using hashes here.

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