RubyGems Navigation menu

extras_de_cont 1.0.1

A simple library which helps you extract transactions from a PDF bank statement. Fine tuned for Romanian bank statements. # ExtrasDeCont A ruby gem for extracting bank statements from PDFs. ## Simple usage Create a PDF parser and print the extracted text: ```ruby require "bundler/setup" require "extras_de_cont" parser = ExtrasDeCont::Parser.new("/home/dnutiu/Documents/tranzactii_revolut.pdf") puts parser.text ``` Or, extract all the transactions from a Revolut Bank statement PDF: ```ruby transactions = ExtrasDeCont.parse(file, bank: :revolut) transactions.each do |t| puts "#{t.date}, #{t.description}, #{t.amount}, #{t.currency}" end ``` Or use the included entrypoint: ```bash bundle exec ruby -Ilib bin/main /home/dnutiu/Documents/tranzactii_revolut.pdf ``` Run the Revolut parser test with: ```bash ruby -Ilib:test test/revolut_rule_test.rb ```

Gemfile:
=

install:
=

Versions:

  1. 1.3.0 May 01, 2026 (23 KB)
  2. 1.2.0 May 01, 2026 (22.5 KB)
  3. 1.1.0 April 30, 2026 (21 KB)
  4. 1.0.2 April 26, 2026 (19.5 KB)
  5. 1.0.1 April 26, 2026 (19.5 KB)
Show all versions (6 total)

Runtime Dependencies (1):

pdf-reader ~> 2.15

Owners:

Pushed by:

Authors:

  • Denis Nutiu

SHA 256 checksum:

=

Total downloads 860

For this version 117

Version Released:

License:

GPLv3

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: