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-1.1.0.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

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

pyxx-1.1.0-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxx-1.1.0.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for pyxx-1.1.0.tar.gz
Algorithm Hash digest
SHA256 11c9c5f72914626e335eaad57469ac171408698bcff47e59f112ab6c469dad39
MD5 864c5c4053d9e535192e5b8437999368
BLAKE2b-256 609acf0f02c5bf41ace0b08eb53a68d596d40ec4b80aa024516016c6be8454be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxx-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for pyxx-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3572e80f81d758c280756e38ace50a42cc82f8649f8458744306db78d6d7d7f9
MD5 94c3c110dda0e1a34ee2a8b402efbb4f
BLAKE2b-256 bab90d13cf6096a68a7fbc37d3d912e4e5075490816f556f0e1d71c09891f4b1

See more details on using hashes here.

Supported by

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