Name | px-utils JSON |
Version |
1.1.2
JSON |
| download |
home_page | None |
Summary | Build utilities python projects |
upload_time | 2024-11-14 09:33:56 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT |
keywords |
build
pyprojectx
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![pyprojectx](px.png)
# Px-utils
Cross-platform build utilities for python projects, especially useful for projects using [pyprojectx](https://pyprojectx.github.io/)
Currently limited to file operations.
## Installation
```
pip install px-utils
```
Or using Pyprojectx:
```toml
[tool.pyprojectx]
main= ["uv", "px-utils"]
[tool.pyprojectx.aliases]
clean = "pxrm build dist .pytest_cache .coverage"
```
## File operations
<!-- START-CLI -->
## pxmkdirs
usage: pxmkdirs [-h] directories [directories ...]
Create a directory and any missing parent directories.
positional arguments:
directories The director(y)(ies) to create.
options:
-h, --help show this help message and exit
## pxcp
usage: pxcp [-h] source_files [source_files ...] destination
Copy source files to a destination directory. The source can be multiple files
or globs. Files are copied preserving directory structure.
positional arguments:
source_files The files to copy. Can be multiple files/globs. IMPORTANT:
when using globs, they must be quoted in order to prevent
expansion by *nix shells!
destination The destination directory.
options:
-h, --help show this help message and exit
## pxmv
usage: pxmv [-h] source_files [source_files ...] destination
Move source files to a destination directory. The source can be multiple files
or globs. Files are moved preserving directory structure.
positional arguments:
source_files The files to move. Can be multiple files/globs. IMPORTANT:
when using globs, they must be quoted in order to prevent
expansion by *nix shells!
destination The destination directory.
options:
-h, --help show this help message and exit
## pxrm
usage: pxrm [-h] files [files ...]
Delete files or globs.
positional arguments:
files The files to delete. Can be multiple files/globs. IMPORTANT:
when using globs, they must be quoted in order to prevent
expansion by *nix shells!
options:
-h, --help show this help message and exit
<!-- END-CLI -->
Raw data
{
"_id": null,
"home_page": null,
"name": "px-utils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "build, pyprojectx",
"author": null,
"author_email": "Houbie <ivo@houbrechts-it.be>",
"download_url": "https://files.pythonhosted.org/packages/59/b4/53354cf6ded7389e2b56ec7cd9afa730b8a9f9bcf0a92c36942d4f38d60f/px_utils-1.1.2.tar.gz",
"platform": null,
"description": "![pyprojectx](px.png)\n\n# Px-utils\n\nCross-platform build utilities for python projects, especially useful for projects using [pyprojectx](https://pyprojectx.github.io/)\n\nCurrently limited to file operations.\n\n## Installation\n\n```\npip install px-utils\n```\n\nOr using Pyprojectx:\n\n```toml\n[tool.pyprojectx]\nmain= [\"uv\", \"px-utils\"]\n\n[tool.pyprojectx.aliases]\nclean = \"pxrm build dist .pytest_cache .coverage\"\n```\n\n## File operations\n\n<!-- START-CLI -->\n## pxmkdirs\nusage: pxmkdirs [-h] directories [directories ...]\n\nCreate a directory and any missing parent directories.\n\npositional arguments:\n directories The director(y)(ies) to create.\n\noptions:\n -h, --help show this help message and exit\n\n## pxcp\nusage: pxcp [-h] source_files [source_files ...] destination\n\nCopy source files to a destination directory. The source can be multiple files\nor globs. Files are copied preserving directory structure.\n\npositional arguments:\n source_files The files to copy. Can be multiple files/globs. IMPORTANT:\n when using globs, they must be quoted in order to prevent\n expansion by *nix shells!\n destination The destination directory.\n\noptions:\n -h, --help show this help message and exit\n\n## pxmv\nusage: pxmv [-h] source_files [source_files ...] destination\n\nMove source files to a destination directory. The source can be multiple files\nor globs. Files are moved preserving directory structure.\n\npositional arguments:\n source_files The files to move. Can be multiple files/globs. IMPORTANT:\n when using globs, they must be quoted in order to prevent\n expansion by *nix shells!\n destination The destination directory.\n\noptions:\n -h, --help show this help message and exit\n\n## pxrm\nusage: pxrm [-h] files [files ...]\n\nDelete files or globs.\n\npositional arguments:\n files The files to delete. Can be multiple files/globs. IMPORTANT:\n when using globs, they must be quoted in order to prevent\n expansion by *nix shells!\n\noptions:\n -h, --help show this help message and exit\n\n<!-- END-CLI -->\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Build utilities python projects",
"version": "1.1.2",
"project_urls": {
"homepage": "https://github.com/pyprojectx/px-utils"
},
"split_keywords": [
"build",
" pyprojectx"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cb160da8c6ae1cac0090dc5a66e2801b1665322ba199e017d9ce6fea79938a14",
"md5": "058e5192fdae719dcf34f1f7f0b8f2b7",
"sha256": "73ab16cbf46589eed23148bdc04d3e2ef85f4ccf7779d54e91cba3730f6ba5ce"
},
"downloads": -1,
"filename": "px_utils-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "058e5192fdae719dcf34f1f7f0b8f2b7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3536,
"upload_time": "2024-11-14T09:33:54",
"upload_time_iso_8601": "2024-11-14T09:33:54.857766Z",
"url": "https://files.pythonhosted.org/packages/cb/16/0da8c6ae1cac0090dc5a66e2801b1665322ba199e017d9ce6fea79938a14/px_utils-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "59b453354cf6ded7389e2b56ec7cd9afa730b8a9f9bcf0a92c36942d4f38d60f",
"md5": "2d1f62305a03be3b3801950d6eb0188d",
"sha256": "3fc704f5759385116881b28aede5a003d71d1b43f58cb8a965846e0788fa7ce7"
},
"downloads": -1,
"filename": "px_utils-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2d1f62305a03be3b3801950d6eb0188d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 30151,
"upload_time": "2024-11-14T09:33:56",
"upload_time_iso_8601": "2024-11-14T09:33:56.263223Z",
"url": "https://files.pythonhosted.org/packages/59/b4/53354cf6ded7389e2b56ec7cd9afa730b8a9f9bcf0a92c36942d4f38d60f/px_utils-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 09:33:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyprojectx",
"github_project": "px-utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "px-utils"
}