Skip to main content

smev3Transform

transform.Smev3Transform - класс транформации xml элементов согласно методоческим рекомендациям СМЭВ3.

example

xml = """ <qwe:elementTwo xmlns:qwe="http://test/2">asd</qwe:elementTwo> """ Smev3Transform(xml).run()

Результат: """<ns1:elementOne xmlns:ns1="http://test/1"><ns2:elementTwo xmlns:ns2="http://test/2"><ns3:elementThree xmlns:ns3="http://test/3">ns1:elementFour z x c </ns1:elementFour>ns2:elementFive w w w </ns2:elementFive></ns3:elementThree><ns4:elementSix xmlns:ns4="http://test/3">eee</ns4:elementSix></ns2:elementTwo></ns1:elementOne>"""

Release files for smev3Transform 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smev3Transform 1.0
File Size Uploaded
smev3Transform-1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smev3Transform 1.0
File Interpreter ABI Platform
smev3Transform-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / smev3Transform-1.0.tar.gz

Download URL smev3Transform-1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3d33700dedd49d2943217f28fbdcd3a1dc6a64e5f5cc7c5cbf74e0b747c5e569
BLAKE2b-256 checksum
How to use checksums
e1a4a594819cc121df423bff55c5409ace13ea92a747230f74948047ba633aba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.7rc1

Release files / smev3Transform-1.0-py3-none-any.whl

Download URL smev3Transform-1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6141242e591177e4e2747764ffd7bdccfcac450a210e90630e46d21517365a13
BLAKE2b-256 checksum
How to use checksums
904b9fd5d2db3182a62666e4feabe80a446b95fdcb797cf4fbe49f64dd9be2c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.7rc1

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page