# 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](https://python-poetry.org/)
## Installation
1. Install Poetry if you haven't already:
```bash
curl -sSL https://install.python-poetry.org | python3 -
```
2. Clone the repository:
```bash
git clone https://github.com/bravelab/sta-converter.git
cd sta-converter
```
3. Install the dependencies:
```bash
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:
```bash
poetry run sta_converter <input_dir> <merged_output_file>
```
- **Install Dependencies**:
```bash
poetry install
```
- **Run the CLI**:
```bash
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
Raw data
{
"_id": null,
"home_page": "https://github.com/bravelab/sta-converter",
"name": "sta-converter",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "mt940, sta, bank statement, converter, csv",
"author": "Mariusz Smen\u017cyk",
"author_email": "mariusz@bravelab.io",
"download_url": "https://files.pythonhosted.org/packages/16/95/6e2d0ddc8dd3b26fa6ac872841adfda620ccaf8bfaaeba29ff1fdbeba8eb/sta_converter-0.1.2.tar.gz",
"platform": null,
"description": "\n# sta-converter\n\n`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.\n\n## Features\n\n- **Convert `.sta` files to CSV**: Extracts transaction data from `.sta` files into structured CSV files.\n- **Batch Processing**: Automatically processes all `.sta` files in a given directory.\n- **Merge CSVs**: Combines multiple CSV files into a single output file.\n\n## Requirements\n\n- Python 3.9+\n- Dependencies managed by [Poetry](https://python-poetry.org/)\n\n## Installation\n\n1. Install Poetry if you haven't already:\n\n ```bash\n curl -sSL https://install.python-poetry.org | python3 -\n ```\n\n2. Clone the repository:\n\n ```bash\n git clone https://github.com/bravelab/sta-converter.git\n cd sta-converter\n ```\n\n3. Install the dependencies:\n\n ```bash\n poetry install\n ```\n\n## Usage\n\nOnce installed, you can use the `sta-converter` CLI tool to convert `.sta` files to CSV and merge the results.\n\n### Convert `.sta` Files to CSV\n\nTo convert `.sta` files into CSV files, use the following command:\n\n```bash\npoetry run sta_converter <input_dir> <merged_output_file>\n```\n\n\n- **Install Dependencies**:\n\n ```bash\n poetry install\n ```\n\n- **Run the CLI**:\n\n ```bash\n poetry run sta_converter <input_dir> <merged_output_file>\n ```\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Author\n\nDeveloped by Mariusz Smen\u017cyk. You can reach out to me at mariusz@bravelab.io.\n# sta-converter\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A CLI tool for converting .sta (MT940) files to CSV and merging CSV files.",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/bravelab/sta-converter",
"Repository": "https://github.com/bravelab/sta-converter"
},
"split_keywords": [
"mt940",
" sta",
" bank statement",
" converter",
" csv"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6fe3468305000e4fc48a85ee2b42f4698bf52661c8a96348cfd4a88479ffd5ae",
"md5": "77785c426fc77ebe20272dc3a691cccb",
"sha256": "b74cc30cb18c2d4dcf49064f1e11da712ace6834b59955af88d32227ef23f706"
},
"downloads": -1,
"filename": "sta_converter-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "77785c426fc77ebe20272dc3a691cccb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 4084,
"upload_time": "2024-09-16T13:41:56",
"upload_time_iso_8601": "2024-09-16T13:41:56.031698Z",
"url": "https://files.pythonhosted.org/packages/6f/e3/468305000e4fc48a85ee2b42f4698bf52661c8a96348cfd4a88479ffd5ae/sta_converter-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "16956e2d0ddc8dd3b26fa6ac872841adfda620ccaf8bfaaeba29ff1fdbeba8eb",
"md5": "8d047980ae5335082c414d8f8b725d94",
"sha256": "19bd36c9ab6d9a1094152ca661bba73e3bf6ba339bff389055d7a30645dfad4f"
},
"downloads": -1,
"filename": "sta_converter-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "8d047980ae5335082c414d8f8b725d94",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 3337,
"upload_time": "2024-09-16T13:41:57",
"upload_time_iso_8601": "2024-09-16T13:41:57.328823Z",
"url": "https://files.pythonhosted.org/packages/16/95/6e2d0ddc8dd3b26fa6ac872841adfda620ccaf8bfaaeba29ff1fdbeba8eb/sta_converter-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-16 13:41:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bravelab",
"github_project": "sta-converter",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sta-converter"
}