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.1.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file payroll-1c-0.3.1.tar.gz
.
File metadata
- Download URL: payroll-1c-0.3.1.tar.gz
- Upload date:
- Size: 3.4 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 | c8fbc261a311b3786de458e6685c682452a7decdbf009b6d7b22740ff74ad878 |
|
MD5 | 5e2acb29c9d57b90fdd112ed5349c686 |
|
BLAKE2b-256 | 786cde28f2db42e0b27c1679b1d7e97c6257f59f3ba69f79225c80eeebe146d4 |
File details
Details for the file payroll_1c-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: payroll_1c-0.3.1-py3-none-any.whl
- Upload date:
- Size: 3.5 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 | 482b2c348a5e4ed3366db1ac8cb3d82d6529c7ad0612a74af7305b9e51492c38 |
|
MD5 | ff3df9cf62a738aaac559ac340cf2f34 |
|
BLAKE2b-256 | ee743fe216e38228c3edd87a0d71481afceeb84f758ab78f7714dc63df5e2123 |