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.3.tar.gz (15.4 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.3-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spedreader-0.1.3.tar.gz
  • Upload date:
  • Size: 15.4 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.3.tar.gz
Algorithm Hash digest
SHA256 cd1ad6a55c4fd334736bf09e65b78ec3594dc2c3fda3c8ef477f01e44c847f23
MD5 6575626b3b9498e9659b4b846dc0e02d
BLAKE2b-256 c14ca6d18e3e7b37c23203aae55e93326770f78fd51cd0f0c951bf8b25ad0feb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spedreader-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 647029860c60a334ae9318821f0fbc2d5cc8b900b17eebad6dc9e4216bba10b7
MD5 58cc2d822c26e5111c32c0d6c1f8ecdf
BLAKE2b-256 2b1472e6a24a5ab1f11149f3b59e7cbc6468d04c3f2f4289dfdc0efce9e938f5

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