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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd1ad6a55c4fd334736bf09e65b78ec3594dc2c3fda3c8ef477f01e44c847f23
|
|
| MD5 |
6575626b3b9498e9659b4b846dc0e02d
|
|
| BLAKE2b-256 |
c14ca6d18e3e7b37c23203aae55e93326770f78fd51cd0f0c951bf8b25ad0feb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
647029860c60a334ae9318821f0fbc2d5cc8b900b17eebad6dc9e4216bba10b7
|
|
| MD5 |
58cc2d822c26e5111c32c0d6c1f8ecdf
|
|
| BLAKE2b-256 |
2b1472e6a24a5ab1f11149f3b59e7cbc6468d04c3f2f4289dfdc0efce9e938f5
|