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.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

payroll_1c-0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: payroll-1c-0.3.tar.gz
  • Upload date:
  • Size: 3.2 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.3.tar.gz
Algorithm Hash digest
SHA256 7b2fbad729fac20ce4a3e893f2aff39bf5a8d82c673fddb20147f3cbd0cd6d61
MD5 c6cf544ee87225b310942a88596b389e
BLAKE2b-256 69ca8f5b3642621c947e07dde2b59aaddc002f72869920e6e82ee2f10a4bfa35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: payroll_1c-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 221c6002ac68b8586db0c70715cc470df99ac1f8f35c6a8119b09ecacd4c767b
MD5 247f5a8c1dc577cda76b19c2e0bb3e9c
BLAKE2b-256 d49dc0c36f84d92ff4908f001aa9be4e5afc4e1bb8496dbf877b12a4b3620e48

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