OneC Data Tools
onec_dtools - библиотека для работы с бинарными файлами 1С:Предприятие 8 (1CD, cf, epf, efd и т.д.) без использования технологической платформы.
Установка
pip install onec_dtools
Использование
Полное описание всех возможностей библиотеки доступно в документации.
Простой пример, демонстрирующий чтение всех данных (включая BLOB) из таблицы V8USERS:
import onec_dtools
with open('1Cv8.1CD', 'rb') as f:
db = onec_dtools.DatabaseReader(f)
if row.is_empty:
continue
for row in db.tables['V8USERS']:
print(row.as_list(True))
Распаковка и запаковки CF файла:
import onec_dtools
onec_dtools.extract('D:/sample.cf', 'D:/unpack')
onec_dtools.build('D:/unpack', 'D:/repacked.cf')
Metadata
Release files for onec_dtools 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onec_dtools-0.5.0.zip | 19.4 kB | Without provenance | Details for onec_dtools-0.5.0.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onec_dtools-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for onec_dtools-0.5.0-py3-none-any.whl |
Total release size: 35.7 kB
Release files / onec_dtools-0.5.0.zip
| Download URL | onec_dtools-0.5.0.zip |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
201234cc701b92a26989dbf1dae6b0b6f02a5dc42bdc4e65d80bcf36fb8c7741
|
|
BLAKE2b-256 checksum How to use checksums |
a8b95eb16e7b2f8ce2aa63a2e9f1e7897c9941d75bff1287860a45b3bf8299d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / onec_dtools-0.5.0-py3-none-any.whl
| Download URL | onec_dtools-0.5.0-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b98616eb9bb40ae444a80098fa504097a1aa388bfb9a48671523665778b6e33
|
|
BLAKE2b-256 checksum How to use checksums |
977515c1703fdfff60ba1b8a2ff6599659e7d5a880b4e838fd7c4764da442362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for onec_dtools 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.