Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gabrieuz/cnab-parser

Repository files navigation

CNAB Parser

en pt-br es

A Django web application that parses CNAB files. This application allows you to upload a .txt file in CNAB format, extract the transactions data, and store it in a database. The transaction data can then be viewed, searched through a user-friendly web interface.

Technology Stack

  • Python 3.x
  • Django 3.x
  • Django Rest Framework
  • SQLite3
  • Bootstrap 5

Features

  • Upload CNAB file
  • Extract transactions data
  • Show transaction details
  • Transactions by ID route: transaction/<int:id>/
  • Search transactions by CPF
  • File type validation

Installation

  • Clone the repository: git clone https://github.com/gabrieuz/cnab-parser.git
  • Create a virtual environment: python -m venv venv
  • Activate the virtual environment: source venv/bin/activate (Linux) or venv\Scripts\activate (Windows)
  • Install the requirements: pip install -r requirements.txt
  • Run migrations: python manage.py migrate
  • Run the development server: python manage.py runserver
  • Access the application at http://localhost:8000

Usage

  • Go to the homepage and click on the "Escolher arquivo" button.
  • Choose a CNAB file to upload (CNAB_Example.txt is available as an example).
  • The transactions data will be extracted and displayed in a table.
  • Use the search bar in the navbar to search for transactions by CPF.

Interface Previews

Interface preview 1 Interface preview 2

Contributing

This is an open-source project, and contributions are welcome. If you have any ideas or suggestions, feel free to create a pull request.

About

A Django web application that parses CNAB files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published