Skip to main content

split a XML file into pieces

Project description

xmlsplit

Cli utility for spliting a big XML file into smaller parts.

The breakpoint will be the element of depth one (below root) that does not fit in the specified maximum size. Each part created will have the same root element.

Usage:

xmlsplit size prefix [filename]

Eg:

xmlsplit 1000000 part_ mydata.xml

or:

cat mydata.xml | xmlsplit 1000000 part_

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

xmlsplit-0.1.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

xmlsplit-0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file xmlsplit-0.1.2.tar.gz.

File metadata

  • Download URL: xmlsplit-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-25-generic

File hashes

Hashes for xmlsplit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c67fb04e63f845eafdb7b5b8be14c1db40ab763308bc7d99b1227e9664dd29ae
MD5 e597cd3566fe9d36fe2790a8b3a15962
BLAKE2b-256 d2070485606fdbeb279891cc2d7bc4be5419087d1b0872061763f746846dd894

See more details on using hashes here.

File details

Details for the file xmlsplit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: xmlsplit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-25-generic

File hashes

Hashes for xmlsplit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5d63b8417bc96ed9d1c68ea70dbe03c7b697e3c77c87889ab318660071c765
MD5 b2d208cb94da5b3f3e95395dbb975ab3
BLAKE2b-256 e28b33e3a7dd8c0e20675dcc5613762096b089c56be5a41e03d2caf9b7f10017

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