Skip to main content

pyprojectx

Px-utils

Cross-platform build utilities for python projects, especially useful for projects using pyprojectx

Currently limited to file operations.

Installation

pip install px-utils

Or using Pyprojectx:

[tool.pyprojectx]
main= ["uv", "px-utils"]

[tool.pyprojectx.aliases]
clean = "pxrm build dist .pytest_cache .coverage"

File operations

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

Download files

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

Source Distribution

px_utils-1.1.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

px_utils-1.1.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file px_utils-1.1.4.tar.gz.

File metadata

  • Download URL: px_utils-1.1.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for px_utils-1.1.4.tar.gz
Algorithm Hash digest
SHA256 4ee7fb549f1590ef2bd2630e04edd882f09bf6876a68f5d47970d3e67424e686
MD5 d2ceb8080aba9ea9e6031695274e3495
BLAKE2b-256 ecd6010e4e26723babffb42f8d0d1dd10c7000a78acd265d132f7b024841d4e0

See more details on using hashes here.

File details

Details for the file px_utils-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: px_utils-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for px_utils-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe732cf6a13fba24f00c0a74a54ecaabc47910d44f4f6245cb91a8ed5780bfc
MD5 f53af7a6716b3e9bb328d34e48f2ae0f
BLAKE2b-256 eca97fc81ff995f1728624afb31cf9b3ce554d8d0e58e38f97741f348a31e91f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 files

1.1.2

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page