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.1.tar.gz
(15.3 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.1.tar.gz.
File metadata
- Download URL: spedreader-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f1a95da6ec3d64051927d2f005f7f5af9a5e85fd7f11f4b62b5d63f57e600e8
|
|
| MD5 |
e1b200fe971fcbfca9e63ab4ed660b9b
|
|
| BLAKE2b-256 |
1d9479d772996969ed54742e114ee59e35ed615088d39cd7fea8b5277b933347
|
File details
Details for the file spedreader-0.1.1-py3-none-any.whl.
File metadata
- Download URL: spedreader-0.1.1-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 |
498e4716abfa5e70b4624fe9a0b770eb90cec48a89b2f535c813f60595462a25
|
|
| MD5 |
dd007cccf7bb0ef9145ef1832b80f967
|
|
| BLAKE2b-256 |
58cc8a7feae5d34de4c511ada2ee302401b3fffea43d242c8a425f8c65c0a244
|