Yandex Market Language (YML) for Python
Yandex Market Language for Python provides user-friendly interface for parsing or creating XML files.
Free software: GNU General Public License v3
Documentation: https://yandex-market-language.readthedocs.io.
Usage: https://yandex-market-language.readthedocs.io/en/latest/usage.html
Features
The ability to convert from XML to dictionary and vice versa using models.
Parse XML file into the ready-to-use Feed model.
Convert dict-like objects into the ready-to-use XML file.
Validation for in-out data.
TODO
[ ] Full models validation support as in the Yandex.Market.
[ ] Simplify models (code refactoring + DRY).
[ ] Add custom exceptions on parse / convert to get more information.
[ ] Documentation in Russian.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.6.1 (2020-07-28)
Add __slots__ for all models to reduce RAM usage.
0.6.0 (2020-04-06)
Added all missed models: Gifts & Promos.
Added cbid warning message on set (field is deprecated).
Added creation of an XML file from the Feed model.
0.5.0 (2020-04-02)
Added missed offers of types: audiobook, artist.title, medicine, event-ticket & alco.
Some fixes for fields.
0.4.0 (2020-04-01)
Added xml parsing for all models, except: Gifts, Promos and another types of offers like audiobooks, medicine etc.
Fixed fields parsing for datetime fields & fields that can be None.
Added new field for offer: supplier.
0.3.0 (2020-03-30)
All missing fields and models were added for the BaseOffer.
SimplifiedOffer is now fully supported for xml / dict.
Custom exception classes removed and replaced with ValidationError.
0.2.0 (2020-03-29)
Added models for xml to dict and backward support: Category, Currency, Feed, Option (delivery / pickup), Price.
Added basic models implementation (WIP): Shop, Offers.
Added basic validation support (WIP, will be improved after finishing of models).
0.1.0 (2020-03-28)
First release on PyPI.
Metadata
Release files for yandex-market-language 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yandex_market_language-0.6.1.tar.gz | 43.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yandex_market_language-0.6.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 69.8 kB
Release files / yandex_market_language-0.6.1.tar.gz
| Download URL | yandex_market_language-0.6.1.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5532b9fd5b83b9131dcce65e690e57da7e895ec3a558b3a5d665cb523084f48
|
|
BLAKE2b-256 checksum How to use checksums |
341cbc881a3e4892815c6859afef2e2a628fc20fe8d1cf5d6e0aa701b8dbd9e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0
|
Release files / yandex_market_language-0.6.1-py2.py3-none-any.whl
| Download URL | yandex_market_language-0.6.1-py2.py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0dce4f2e818d539e17fb67df9a56f46b2fd401b842caec5098ac860e2ad52aeb
|
|
BLAKE2b-256 checksum How to use checksums |
75c47bf000d86b8b5bbf587265dbd365f454bb00864a6611621dcaa4149515c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0
|