Parse 1C Payrolls XML file
Project description
1C Payrolls
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 details)
Built Distribution
File details
Details for the file payroll-1c-0.3.2.tar.gz
.
File metadata
- Download URL: payroll-1c-0.3.2.tar.gz
- Upload date:
- Size: 3.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c425ffafd107507e1933bdabe2b6dd9612f542e012aeb6f36a5ebd560fe74a |
|
MD5 | b2ec4f146e6d179e93ae289bb66fc358 |
|
BLAKE2b-256 | a05435d9e09da076f87b88471859c5ca12bc78fdd982168532e105480b75dbdb |
File details
Details for the file payroll_1c-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: payroll_1c-0.3.2-py3-none-any.whl
- Upload date:
- Size: 3.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb84833d3cdea1f0b7d2322b428ea2e2219106dd25398aebaf43f2a8db2992e |
|
MD5 | 835d048888a718caba62d5ec41cbffd5 |
|
BLAKE2b-256 | 92cf9332848c1763db06c7c3f58e9bd81a1434ba4fdc055b8edf3137e36f5837 |