Skip to main content

cmem-plugin-splitfile

Split a text file into parts with a specified size.

eccenca Corporate Memory

This is a plugin for eccenca Corporate Memory. You can install it with the cmemc command line client like this:

cmemc admin workspace python install cmem-plugin-splitfile

Parameters

Input filename

The input file to be split.
Example: An input file with the name input.nt will be split into files with the names input_000000001.nt, input_000000002.nt, input_000000003.nt, etc.
⚠️ Existing files will be overwritten!

Chunk size

The maximum size of the chunk files.

Size unit

The unit of the size value: kilobyte (KB), megabyte (MB), gigabyte (GB), or number of lines (Lines).

Include header

Include the header in each split. The first line of the input file is treated as the header.

Delete input file

Delete the input file after splitting.

Use internal projects directory

Use the internal projects directory of DataIntegration to fetch and store files, instead of using the API. If enabled, the "Internal projects directory" parameter has to be set.

Internal projects directory

The path to the internal projects directory. If "Use internal projects directory" is disabled, this parameter has no effect.

workflow pypi version license poetry ruff mypy copier

Download files

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

Source Distribution

cmem_plugin_splitfile-1.2.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

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

cmem_plugin_splitfile-1.2.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file cmem_plugin_splitfile-1.2.0.tar.gz.

File metadata

  • Download URL: cmem_plugin_splitfile-1.2.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.15 Linux/6.17.0-1022-azure

File hashes

Hashes for cmem_plugin_splitfile-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9ce93f1336c7e18a1525d89fe520ecc4c1879d68d269c0aad930f4c3b6c9d6b1
MD5 c3f78d95b52c13027ac2dad2394d236e
BLAKE2b-256 e13e39d350d9f61662675e72bb86c41f5f0165169c62c6cb98af76ad1019c229

See more details on using hashes here.

File details

Details for the file cmem_plugin_splitfile-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: cmem_plugin_splitfile-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.15 Linux/6.17.0-1022-azure

File hashes

Hashes for cmem_plugin_splitfile-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9f72610ec8d6fa1587b4b8bd8e14a594caff79e265538ff2d00771aeb4e5bf0
MD5 bcb480139f889b0862f7fd90c65bafe0
BLAKE2b-256 15058229e79fe7b1191d13c4fc82a71b13d636c3c36a3d6506c0ccd46d66886b

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 Sentry Error logging StatusPage Status page