cmem-plugin-splitfile


Namecmem-plugin-splitfile JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummarySplit a text file into parts of the same filesize
upload_time2024-11-14 17:35:29
maintainerNone
docs_urlNone
authoreccenca GmbH
requires_python<4.0,>=3.11
licenseApache-2.0
keywords eccenca corporate memory plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cmem-plugin-splitfile

Split a text file into parts with a specified size.

[![eccenca Corporate Memory][cmem-shield]][cmem-link]

This is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://documentation.eccenca.com). You can install it with the [cmemc](https://eccenca.com/go/cmemc) command line clients 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.


[![poetry][poetry-shield]][poetry-link] [![ruff][ruff-shield]][ruff-link] [![mypy][mypy-shield]][mypy-link] [![copier][copier-shield]][copier] 

[cmem-link]: https://documentation.eccenca.com
[cmem-shield]: https://img.shields.io/endpoint?url=https://dev.documentation.eccenca.com/badge.json
[poetry-link]: https://python-poetry.org/
[poetry-shield]: https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json
[ruff-link]: https://docs.astral.sh/ruff/
[ruff-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&label=Code%20Style
[mypy-link]: https://mypy-lang.org/
[mypy-shield]: https://www.mypy-lang.org/static/mypy_badge.svg
[copier]: https://copier.readthedocs.io/
[copier-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-purple.json


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cmem-plugin-splitfile",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "eccenca Corporate Memory, plugin",
    "author": "eccenca GmbH",
    "author_email": "cmempy-developer@eccenca.com",
    "download_url": "https://files.pythonhosted.org/packages/13/2c/bb1fc69c50a06c5750b4c7ce73bafac6860390f34a4ab2bcea2199bbee84/cmem_plugin_splitfile-1.0.0.tar.gz",
    "platform": null,
    "description": "# cmem-plugin-splitfile\n\nSplit a text file into parts with a specified size.\n\n[![eccenca Corporate Memory][cmem-shield]][cmem-link]\n\nThis is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://documentation.eccenca.com). You can install it with the [cmemc](https://eccenca.com/go/cmemc) command line clients like this:\n\n```\ncmemc admin workspace python install cmem-plugin-splitfile\n```\n\n## Parameters\n\n### Input filename\n\nThe input file to be split.  \n_Example:_ An input file with the name _input.nt_ will be split into files with the names _input\\_000000001.nt_,\n_input\\_000000002.nt_,   _input\\_000000003.nt_, etc.  \n\u26a0\ufe0f Existing files will be overwritten!\n\n### Chunk size\n\nThe maximum size of the chunk files.\n\n### Size unit\n\nThe unit of the size value: kilobyte (KB), megabyte (MB), gigabyte (GB), or number of lines (Lines).\n\n### Include header\n\nInclude the header in each split. The first line of the input file is treated as the header.\n\n### Delete input file\n\nDelete the input file after splitting.\n\n### Use internal projects directory\n\nUse the internal projects directory of DataIntegration to fetch and store files, instead of using the API.\nIf enabled, the \"Internal projects directory\" parameter has to be set.\n\n### Internal projects directory\n\nThe path to the internal projects directory. If \"Use internal projects directory\" is disabled,\nthis parameter has no effect.\n\n\n[![poetry][poetry-shield]][poetry-link] [![ruff][ruff-shield]][ruff-link] [![mypy][mypy-shield]][mypy-link] [![copier][copier-shield]][copier] \n\n[cmem-link]: https://documentation.eccenca.com\n[cmem-shield]: https://img.shields.io/endpoint?url=https://dev.documentation.eccenca.com/badge.json\n[poetry-link]: https://python-poetry.org/\n[poetry-shield]: https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json\n[ruff-link]: https://docs.astral.sh/ruff/\n[ruff-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&label=Code%20Style\n[mypy-link]: https://mypy-lang.org/\n[mypy-shield]: https://www.mypy-lang.org/static/mypy_badge.svg\n[copier]: https://copier.readthedocs.io/\n[copier-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-purple.json\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Split a text file into parts of the same filesize",
    "version": "1.0.0",
    "project_urls": null,
    "split_keywords": [
        "eccenca corporate memory",
        " plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d54cc4f473edd0b10c8c3b6e64075f54035166c81169800477b3bdcca9b77a35",
                "md5": "a94793498f58e80f084b6a849d693d00",
                "sha256": "a1a1d4f6dfc79f617c7ec1cc4fd3540513988ac3af45dfe1d710059e20460fbb"
            },
            "downloads": -1,
            "filename": "cmem_plugin_splitfile-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a94793498f58e80f084b6a849d693d00",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 12032,
            "upload_time": "2024-11-14T17:35:27",
            "upload_time_iso_8601": "2024-11-14T17:35:27.912768Z",
            "url": "https://files.pythonhosted.org/packages/d5/4c/c4f473edd0b10c8c3b6e64075f54035166c81169800477b3bdcca9b77a35/cmem_plugin_splitfile-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "132cbb1fc69c50a06c5750b4c7ce73bafac6860390f34a4ab2bcea2199bbee84",
                "md5": "b0c1c15d278d63438e147c5af99356e5",
                "sha256": "d732da4052d60682f70c41cc371128fef131c5c7cfbd0d4087e7c199090de2ab"
            },
            "downloads": -1,
            "filename": "cmem_plugin_splitfile-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b0c1c15d278d63438e147c5af99356e5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 11139,
            "upload_time": "2024-11-14T17:35:29",
            "upload_time_iso_8601": "2024-11-14T17:35:29.767476Z",
            "url": "https://files.pythonhosted.org/packages/13/2c/bb1fc69c50a06c5750b4c7ce73bafac6860390f34a4ab2bcea2199bbee84/cmem_plugin_splitfile-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-14 17:35:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cmem-plugin-splitfile"
}
        
Elapsed time: 1.14100s