Skip to main content

sta-converter

sta-converter is a command-line tool for converting .sta bank statement files (MT940 format) to CSV format and merging multiple CSVs into one for easier financial analysis and reporting.

Features

  • Convert .sta files to CSV: Extracts transaction data from .sta files into structured CSV files.
  • Batch Processing: Automatically processes all .sta files in a given directory.
  • Merge CSVs: Combines multiple CSV files into a single output file.

Requirements

  • Python 3.9+
  • Dependencies managed by Poetry

Installation

  1. Install Poetry if you haven't already:

    curl -sSL https://install.python-poetry.org | python3 -
    
  2. Clone the repository:

    git clone https://github.com/bravelab/sta-converter.git
    cd sta-converter
    
  3. Install the dependencies:

    poetry install
    

Usage

Once installed, you can use the sta-converter CLI tool to convert .sta files to CSV and merge the results.

Convert .sta Files to CSV

To convert .sta files into CSV files, use the following command:

poetry run sta_converter <input_dir> <merged_output_file>
  • Install Dependencies:

    poetry install
    
  • Run the CLI:

    poetry run sta_converter <input_dir> <merged_output_file>
    

License

This project is licensed under the MIT License.

Author

Developed by Mariusz Smenżyk. You can reach out to me at mariusz@bravelab.io.

sta-converter

Metadata

Release files for sta-converter 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sta-converter 0.1.2
File Size Uploaded Provenance Actions
sta_converter-0.1.2.tar.gz 3.3 kB Without provenance Details for sta_converter-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sta-converter 0.1.2
File Interpreter ABI Platform Actions
sta_converter-0.1.2-py3-none-any.whl Python 3 none any Details for sta_converter-0.1.2-py3-none-any.whl

Total release size: 7.4 kB

Release files / sta_converter-0.1.2.tar.gz

Download URL sta_converter-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
19bd36c9ab6d9a1094152ca661bba73e3bf6ba339bff389055d7a30645dfad4f
BLAKE2b-256 checksum
How to use checksums
16956e2d0ddc8dd3b26fa6ac872841adfda620ccaf8bfaaeba29ff1fdbeba8eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.18 Darwin/23.6.0

Release files / sta_converter-0.1.2-py3-none-any.whl

Download URL sta_converter-0.1.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b74cc30cb18c2d4dcf49064f1e11da712ace6834b59955af88d32227ef23f706
BLAKE2b-256 checksum
How to use checksums
6fe3468305000e4fc48a85ee2b42f4698bf52661c8a96348cfd4a88479ffd5ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.18 Darwin/23.6.0

Security for sta-converter 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page