Yandex Market Language for Python provides user-friendly interface for parsing or creating XML files.
Project description
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.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
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: Gitfts, 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.
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
Built Distribution
Hashes for yandex_market_language-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc426287a74a9ae8f290108d951949803538f72920d5a3cd8c14492e3d55592 |
|
MD5 | 61e4074b79e31c60c6626094e7d71aea |
|
BLAKE2b-256 | d3de56d75316240f5a2afe85e161162a3ef1f04e916f2dfb32eaf78471eff895 |
Hashes for yandex_market_language-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e39795fd4f972b191b8b59ca7f243aeb2aa4e62273a46a925d00e8de13c07019 |
|
MD5 | dedc099a4ba11a7bcccff80f536844f9 |
|
BLAKE2b-256 | 1d800fe172509a5d4d21df5b2064600d49e986a36272eccc53584ed4461ee74d |