Skip to main content

Writer for MT-940 bank statements

Project description

Python library to create bank statements in the MT940 format.

Only tested on Python 3.10+, but should work on 3.7+.

pip install mt940-writer

Development

https://github.com/ministryofjustice/mt940-writer/actions/workflows/test.yml/badge.svg?branch=main

Please report bugs and open pull requests on GitHub.

To work on changes to this library, it’s recommended to install it in editable mode into a virtual environment, i.e. pip install --editable .

Use python -m tests to run all tests locally. Alternatively, you can use tox if you have multiple python versions.

[Only for GitHub team members] Distribute a new version to PyPI by:

  • updating the VERSION tuple in mt940_writer.py

  • adding a note to the History

  • publishing a release on GitHub which triggers an upload to PyPI; alternatively, run python -m build; twine upload dist/* locally

History

0.8

Testing on python 3.10 to 3.14. Reverted to flake8 for code style to be consistent with other MoJ libs. Improve linting and modernise code style. Migrated to trusted publishing.

0.7

Added additional transaction information with tag 86. Switched to ruff for code linting and formatting. Migrated test, build and release processes away from deprecated setuptools commands.

0.6

Maintenance release, no library changes.

0.2 - 0.5

No significant library changes, other than support for newer versions of python.

0.1

Original release.

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

mt940_writer-0.8.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

mt940_writer-0.8-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file mt940_writer-0.8.tar.gz.

File metadata

  • Download URL: mt940_writer-0.8.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mt940_writer-0.8.tar.gz
Algorithm Hash digest
SHA256 d6e68e1277fe827073660bd4618d03b48e90d061c54120a4c534c0d986f83997
MD5 fa87f085e3ca7f169f6298dc90c39e29
BLAKE2b-256 efb0b0fcb333889c2b649f6f154b91b6aee41eb6c696bfd5bddc45e1a28467f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mt940_writer-0.8.tar.gz:

Publisher: release.yml on ministryofjustice/mt940-writer

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

File details

Details for the file mt940_writer-0.8-py3-none-any.whl.

File metadata

  • Download URL: mt940_writer-0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mt940_writer-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac1ac34fa90e271d4802195f67ea958dd2fdd127179523340b2d93b979cb488
MD5 b431c42aaf68f6a962818737043cc405
BLAKE2b-256 de02a96cb081400d2c2dd1a39f07dea0398826c520e68ee32a6bf5a63aeb1ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mt940_writer-0.8-py3-none-any.whl:

Publisher: release.yml on ministryofjustice/mt940-writer

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