Skip to main content

Tools for working with 1C:Enterprise binary files

Project description

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

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

onec_dtools-0.5.0.zip (19.4 kB view details)

Uploaded Source

Built Distribution

onec_dtools-0.5.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file onec_dtools-0.5.0.zip.

File metadata

  • Download URL: onec_dtools-0.5.0.zip
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for onec_dtools-0.5.0.zip
Algorithm Hash digest
SHA256 201234cc701b92a26989dbf1dae6b0b6f02a5dc42bdc4e65d80bcf36fb8c7741
MD5 67e5077f540e2772449b2b0f5ccdd818
BLAKE2b-256 a8b95eb16e7b2f8ce2aa63a2e9f1e7897c9941d75bff1287860a45b3bf8299d1

See more details on using hashes here.

File details

Details for the file onec_dtools-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onec_dtools-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b98616eb9bb40ae444a80098fa504097a1aa388bfb9a48671523665778b6e33
MD5 3dada95ba43e1f564e7c579201bd8cab
BLAKE2b-256 977515c1703fdfff60ba1b8a2ff6599659e7d5a880b4e838fd7c4764da442362

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page