Collection of utilities for Python code
Project description
PyXX: Python Utilities Package
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyxx-1.0.0.tar.gz
.
File metadata
- Download URL: pyxx-1.0.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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451e26ae979cb7707392068db299b6bf6a40af6954be7f55741717c74d25e49e |
|
MD5 | bc4279f460bbd045e1fecd9f3af5603a |
|
BLAKE2b-256 | 4244157f01c5f05fa2f44d1bd03b5f9f37cf01e7fd5141d9cf781eaad7e62978 |
File details
Details for the file pyxx-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyxx-1.0.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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f112fcfd1daaee4641848745f97d8a229a6d65586f26ddc61c16f294a09e0670 |
|
MD5 | e040e23fdd0232ff3347af9ede0d423d |
|
BLAKE2b-256 | bbc6904ee70e92bfb9a610a8b8076785851f52bdbce6545d7fff974c5e618871 |