SmallDog
Introduction
This is a Python package currently under testing, temporarily named "smalldog". There was another package named "bigdog" under testing that handles uncertainty by a theoretical approach. We will develop/update the simulation implementation version, "smalldog", which will be the main package. It contains ValueU and QuantityU, which are designed to handle numerical values with asymmetric uncertainty and physical units. This package provides a robust framework for managing uncertainties in scientific computations, extending traditional numerical representations with error propagation and unit management.
Dependencies
- Python 3.6+
numpyscipyastropy
Key Features
- ValueU: Handles numerical values with asymmetric uncertainties.
- QuantityU: Extends
ValueUby incorporating unit management - Supports arithmetic operations with proper uncertainty propagation.
- Provides various comparison and formatting methods.
- Includes built-in documentation accessible via
.help().
Installation
The package is currently in the alpha stage of development and is being tested on the test field named "smalldog". To install the package, run the following command in your terminal:
pip install smalldog
Once installed, you can import the necessary modules in your Python script or interactive console:
from smalldog import ValueU, QuantityU
To view the detailed descriptions for ValueU and QuantityU, use the built-in help function:
ValueU().help() # Displays detailed information on ValueU
QuantityU().help() # Displays detailed information on QuantityU
These commands provide comprehensive details about generating instance objects, representation of the object, and handling object methods that contain operations, unit conversions, as well as additional functionalities.
License & Disclaimer
- Unauthorized modification and redistribution of the source code are strictly prohibited.
- The authors bear no responsibility for any errors, malfunctions, or unintended consequences resulting from code modifications.
- This package assumes all variables are independent (zero covariance). Users should exercise caution when working with correlated data.
Credits
Main Developer: DH.Koh (donghyeok.koh.code@gmail.com)
Collaborating Developers: JH.Kim, KM.Heo
Alpha Testers: None
Changelog
v0.2510.14 (2025-03-07)
- Fixed operation method priority bug.
- Improved help message formatting.
- Minor path-related fixes.
Contact & Contributions
Bug reports and contributions are welcome! Please contact the main developer for more information.
Metadata
Release files for smalldog 0.2539.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smalldog-0.2539.3.tar.gz | 37.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smalldog-0.2539.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.8 kB
Release files / smalldog-0.2539.3.tar.gz
| Download URL | smalldog-0.2539.3.tar.gz |
|---|---|
| Size | 37.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de5554232d861baff08dcf1b68618fbeaff7d39aa90085b407d912ad0c48cd57
|
|
BLAKE2b-256 checksum How to use checksums |
c3cd665a97d713c9736dcb2e87304d5e4d44bb2637378ed9a773af78ff15ac3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.21
|
Release files / smalldog-0.2539.3-py3-none-any.whl
| Download URL | smalldog-0.2539.3-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6374829e2169d2cc878b5bce113d4603dac8a63f128bce2828e656bcd7d13bf
|
|
BLAKE2b-256 checksum How to use checksums |
00368178e0b9d62dc52cdfaabf1cd62ed0de4d3f4ee2f62184ae6232971cffa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.21
|