Skip to main content

Collection of utilities for Python code

Project description

PyXX: Python Utilities Package

CI/CD codecov Documentation Status PyPI - Downloads

Overview

PyXX is a collection of Python classes and functions intended to accelerate development of Python code and avoid duplicating code between projects.

Features

General-purpose tools are provided, including:

  • Unit Converter: Components to support a fully customizable unit converter (including a command-line interface). Arbitrary units and systems of units can be defined, and functions are available to parse and simplify complex units (such as (kg*(m/s)^2)/(m^3)).
  • Array Tools: A variety of functions for common tasks involving lists, tuples, NumPy arrays, and other array-like objects. For instance, a Python implementation of lists that enforce homogeneous type (similar to a C++ std::vector) is available.
  • File Processors: A set of Python classes for file I/O and processing operations such as computing file hashes and removing comments. These are mainly intended to serve as base classes that can be extended and customized for user-specific applications.
  • String Parsers: Functions for string-parsing tasks, such as analyzing a string like ((x-2)/4)^(-1) to determine which parentheses form matched pairs.

Installation

The recommended way to install PyXX is through pip:

pip install pyxx

For more information about configuring Python and using packages, refer to the official Python documentation on setting up Python and installing packages.

Usage and Documentation

Detailed documentation for the PyXX project can be found here: https://pyxx.readthedocs.io.

The project documentation contains example code, explanations of the concepts behind the package architecture, and detailed API reference. If you're still not certain how to do something after reading it, feel free to create a discussion post!

Acknowledgments

Project source code is hosted on GitHub, releases are distributed through PyPI, and documentation is hosted through Read the Docs. Some README badges were generated using Shields.io.

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

pyxx-0.2.0.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

pyxx-0.2.0-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

Details for the file pyxx-0.2.0.tar.gz.

File metadata

  • Download URL: pyxx-0.2.0.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyxx-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8d4d009d11335cc7d9186698dc6f82995262a747e9a78025fca2890b538a1869
MD5 7bd7c1de512c14670ac4d9745c774aef
BLAKE2b-256 a1d70d56c964a5828e97c4b3b86992f2e577c9caf477624320d86d51dbe4a873

See more details on using hashes here.

File details

Details for the file pyxx-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyxx-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 65.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyxx-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7399a43968acbdeb2cb619dec0ae6702b332760a60f951a0320f07b6012f37
MD5 7a2774ae4a73596d31077381783d2ed6
BLAKE2b-256 3cfc3dd633c34b1dc1ddb8432998ae75fc39ee685d805f1831bf7b1e1ee5d82e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page