Skip to main content
https://img.shields.io/pypi/v/onec_dtools.svg https://img.shields.io/pypi/pyversions/onec_dtools.svg https://img.shields.io/pypi/l/onec_dtools.svg https://img.shields.io/travis/Infactum/onec_dtools/master.svg https://img.shields.io/coveralls/Infactum/onec_dtools.svg

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')

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)

Source distribution for onec_dtools 0.5.0
File Size Uploaded
onec_dtools-0.5.0.zip 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onec_dtools 0.5.0
File Interpreter ABI Platform
onec_dtools-0.5.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page