Skip to main content

Пакет канонизации и нормализации xml элемента для подписания в СМЭВ 3.

Project description

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>"""

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smev3Transform-1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smev3Transform-1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file smev3Transform-1.0.tar.gz.

File metadata

  • Download URL: smev3Transform-1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for smev3Transform-1.0.tar.gz
Algorithm Hash digest
SHA256 3d33700dedd49d2943217f28fbdcd3a1dc6a64e5f5cc7c5cbf74e0b747c5e569
MD5 f1ab96c314dea6aa487d58ddb9014ba5
BLAKE2b-256 e1a4a594819cc121df423bff55c5409ace13ea92a747230f74948047ba633aba

See more details on using hashes here.

File details

Details for the file smev3Transform-1.0-py3-none-any.whl.

File metadata

  • Download URL: smev3Transform-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for smev3Transform-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6141242e591177e4e2747764ffd7bdccfcac450a210e90630e46d21517365a13
MD5 0f394f3cc3303a341a7d51103c34ba7d
BLAKE2b-256 904b9fd5d2db3182a62666e4feabe80a446b95fdcb797cf4fbe49f64dd9be2c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page