Skip to main content

Pandas Series accessor to handle nuclides.

Project description

License PyPI version PyPI Downloads

NuPaAc - Nuclide Pandas Accessor

This python package provides the NuclideSeriesAccessor class, which acts as kind of wrapper to interact with radioactivedecay Nuclide objects from nuclide strings containing pandas Series. For detailed information about the radioactivedecay package, see its documentation.

The series accessor allows to retrive several data series obtained from the dataset in use by radioactivedecay. Where appropriate, data are returned as pint series, allowing to preserve the unit and perform unit-aware operations. The functionality is implemented via the pint-pandas package.

Consult the tutorial.md file to learn about the functionality provided by this package.

The project is currently under development and changes in its behaviour might be introduced.

Installation

Install the latest release of UnPaAc from PyPI via pip:

$ pip install nupaac

The development version can be installed from the Git repository using pip:

# Via https
pip install git+https://codeberg.org/Cs137/NuPaAc.git

# Via ssh
pip install git+ssh://git@codeberg.org:Cs137/NuPaAc.git

Usage

The pandas Series accessor is available via the nucs attribute of Series instances. In order to make use of the accessor, import the module nucs from this package.

Examples demonstrating several use cases can be found in the tutorial.md file.

Changes

All notable changes to this project are documented in the CHANGELOG.md file.

Contributing

Contributions to the NuPaAc package are very welcomed. Feel free to submit a pull request, if you would like to contribute to the project. In case you are unfamiliar with the process, consult the forgejo documentation and follow the steps using this repository instead of the example repository.

Create your pull request (PR) to inform that you start working on a contribution. Provide a clear description of your envisaged changes and the motivation behind them, prefix the PR's title with WIP: until your changes are finalised.

All kind of contributions are appreciated, whether they are bug fixes, new features, or improvements to the documentation.

Development

Installing for development

To install the package in development mode, clone the Git repository and install the package using Poetry, as shown in the code block underneath. To install Poetry, which is required for virtual environment and dependency management, follow the instructions on the Poetry website.

git clone https://codeberg.org/Cs137/NuPaAc.git
cd nupaac
poetry install

This will create a virtual environment and install the package dependencies and the package itself in editable mode, allowing you to make changes to the code and see the effects immediately in the corresponding virtual environment. Alternatively, you can install it via pip install -e in an existing virtual environment.

License

NuPaAc is open source software released under the MIT License. See LICENSE file for details.


This package was created and is maintained by Christian Schreinemachers, (C) 2025.

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

nupaac-0.1.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

nupaac-0.1.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file nupaac-0.1.4.tar.gz.

File metadata

  • Download URL: nupaac-0.1.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.2 Linux/6.13.2-arch1-1

File hashes

Hashes for nupaac-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5c8a8d715dc53d05f72d9e3994a7f1ca6fb4325a3cc515a737abd25a7b633ab7
MD5 8e7736c4f8d8c5cd0fea82bf2dccf40c
BLAKE2b-256 27c771e0773bba84b65c0bcfb5a73451f4aac83feeb18a55549faca2f5d9d282

See more details on using hashes here.

File details

Details for the file nupaac-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: nupaac-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.2 Linux/6.13.2-arch1-1

File hashes

Hashes for nupaac-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8f9bc6d5f88d3bf75844fc9633563d587d37a691eabdf80c2e85705e3475f11d
MD5 53a74335d25a3c5955abc61d62f56243
BLAKE2b-256 59b3954cec7bf361541a2771ad04be7567ba616f57eb7cd0964fbf483860f7f2

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