Skip to main content

Leitor de arquivos SPED brasileiros.

Project description

SPED Reader

Um leitor de arquivos SPED em formato txt.

Instalação

pip install spedreader

Uso

from spedreader import SpedReader

spedReader = SpedReader('caminho/para/arquivo.txt')
sped = spedReader.read_sped()

parent_id = 3
# Retorna todos os registros C100 que tem pai C010 número 3.
result = sped["Bloco C"]["C100"].query("id_c010 == @parent_id")
print(result)

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

spedreader-0.1.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

spedreader-0.1.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file spedreader-0.1.2.tar.gz.

File metadata

  • Download URL: spedreader-0.1.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for spedreader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 26d7efc1fcad8c8847b6b14dfcbdbe242cb3f7bc6b38b908506c6b3f98f4a736
MD5 5fefd309306d5a8fe75f25f3b2879298
BLAKE2b-256 59322288641f03fc09bb9d5c156c3865ef33a7ba18110e8044a4daedd49f2d6c

See more details on using hashes here.

File details

Details for the file spedreader-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: spedreader-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for spedreader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6e5131f16beceb185ac8ab0e87315a0323aac2ba2dc972fd7d83f8f1d4e7e09
MD5 a043d2f337030a8de3405f072d8707e7
BLAKE2b-256 d4a89db698dfddaed50fee2d8b7ca114f19c8ca1ae65bd5ff04ed76edf4a594b

See more details on using hashes here.

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