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.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

payroll_1c-0.3.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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