UiO exoplanet group tools for data processing
Project description
uio-exoplanet-group
UiO exoplanet group: data processing tools and knowledge base. Created for Centre for Earth Evolution and Dynamics and its successor Centre for Planetary Habitability.
Installing
From PyPI
$ pip install uio-exoplanet-group
From sources
$ cd /path/to/uio-exoplanet-group/
$ pip install .
Add an -e
argument, if you'd like to automatically update your locally installed package by pulling from the repository or/and if you intend to modify the sources:
$ pip install -e .
Building a wheel
You can also build a wheel and distribute/install that instead:
$ cd /path/to/uio-exoplanet-group/
$ python -m build
$ pip install ./dist/uio_exoplanet_group-*.whl
Modules
utility
- reusable/common utility modules;tasks
- special module for performing particular tasks.
Data
Wherever you see a reference to some data files in documentation, examples, comments or anywhere else, for example some function taking a path like ./data/systems-528n.pkl
, check the data folder - chances are, that file will be provided there.
Documentation
There are two different pieces of documentation.
API
Located in documentation
. This is the package API documentation, which is published here.
It is generated with pdoc:
$ pip install pdoc
$ cd /path/to/uio-exoplanet-group
$ rm -r ./documentation/_deploy/*
$ UIO_PACKAGE_VERSION=$(git rev-parse --short HEAD) pdoc ./src/uio/utility ./src/uio/tasks \
--template-directory ./documentation/_templates/ \
--edit-url="uio=https://github.com/retifrav/uio-exoplanet-group/blob/master/src/uio/" \
--output-directory ./documentation/_deploy/
$ cp ./documentation/{favicon.ico,phab.jpg} ./documentation/_deploy/
For now it's a blunt deployment of generated HTML, but later it probably will be better to rely on GitHub Actions (if it won't spend too much of free quota) by customizing this workflow.
wiki
Located in wiki
. This is general purpose / technical manuals, articles, notes, etc: how to install/build various tools, dependencies, how to set-up environments and so on.
It is meant to be published somewhere else, but for now it will do being a part of repository. GitHub wikis could've been an option, but those are still quite bad in terms of organizing the content.
Tests
To run tests:
$ pip install pytest
$ python -m pytest ./src/uio/tests/*[^_*].py
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
Built Distribution
File details
Details for the file uio_exoplanet_group-0.6.0.tar.gz
.
File metadata
- Download URL: uio_exoplanet_group-0.6.0.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f095b3b11f9bda48033a4b486ae28e07de6aa18aff63cd6fc8bbceaeebbfa2f9 |
|
MD5 | 5974fd57c7e560ae1017bbc80d8bb1d0 |
|
BLAKE2b-256 | 6bb4478d5235fad48f2cac8492d254d2ff23e1eca8ab6a831ed16910f180a799 |
File details
Details for the file uio_exoplanet_group-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: uio_exoplanet_group-0.6.0-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2019bf98910c5ee94bfb4b43f229ca4564704e4d4ff518d706b2f95568ccd882 |
|
MD5 | 075406459dfef606df9ef0212c66bc06 |
|
BLAKE2b-256 | c0771857ec84d7d97aa965d85bb487c052fbff921bdd9b001239cb3ee37b3888 |