Skip to main content

Parse 1C Payrolls XML file

Project description

1C Payrolls

PyPI codecov

Parse 1C Payrolls XML file

Install

pip install payroll_1c

Usage

>>> from payroll_1c import Payroll1C
>>> payroll = Payroll1C('1C-payroll.xml')
>>> payroll = Payroll1C(fromstring='<СчетаПК>...</СчетаПК>')
>>> payroll['ДатаФормирования'] == '2022-01-01'
>>> for employee in payroll:
...    print(employee['Фамилия'])
...    print(employee['Сумма'])

Development

We need installed pyenv and pipenv.

git clone git@github.com:odoo-ru/payroll-1c.git

cd payroll-1c
pipenv install --dev

Run tests:

pipenv run fulltest

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

payroll-1c-0.2.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

payroll_1c-0.2.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file payroll-1c-0.2.1.tar.gz.

File metadata

  • Download URL: payroll-1c-0.2.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.10 Linux/5.8.0-63-generic

File hashes

Hashes for payroll-1c-0.2.1.tar.gz
Algorithm Hash digest
SHA256 082219ba470b3f64fbfdb2c32874e0db62df4b359c8da363c062f550354080c1
MD5 b9adc85b61f11cf2a7d3c6a6cdfa2a40
BLAKE2b-256 b2c0afc687bfc42e47c6eb40af847e0155566a1a89917e35c063671e251255fe

See more details on using hashes here.

File details

Details for the file payroll_1c-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: payroll_1c-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.10 Linux/5.8.0-63-generic

File hashes

Hashes for payroll_1c-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2669795864798afa23ef5e0f01485dc049850af619ca007486b28202520f3d02
MD5 b3e5eb7913b330901e91352b8ceff264
BLAKE2b-256 e37a1491a35853d2ef105a69e717c1cb18a7bcf3e6dcb3834130106f818508d4

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