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
Metadata
Release files for payroll-1c 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| payroll-1c-0.3.2.tar.gz | 3.5 kB | Without provenance | Details for payroll-1c-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| payroll_1c-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for payroll_1c-0.3.2-py3-none-any.whl |
Total release size: 7.1 kB
Release files / payroll-1c-0.3.2.tar.gz
| Download URL | payroll-1c-0.3.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65c425ffafd107507e1933bdabe2b6dd9612f542e012aeb6f36a5ebd560fe74a
|
|
BLAKE2b-256 checksum How to use checksums |
a05435d9e09da076f87b88471859c5ca12bc78fdd982168532e105480b75dbdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.10 Linux/5.8.0-63-generic
|
Release files / payroll_1c-0.3.2-py3-none-any.whl
| Download URL | payroll_1c-0.3.2-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eb84833d3cdea1f0b7d2322b428ea2e2219106dd25398aebaf43f2a8db2992e
|
|
BLAKE2b-256 checksum How to use checksums |
92cf9332848c1763db06c7c3f58e9bd81a1434ba4fdc055b8edf3137e36f5837
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.10 Linux/5.8.0-63-generic
|
Security for payroll-1c 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.