Skip to main content

UiO exoplanet group tools for data processing

Project description

uio-exoplanet-group

UiO exoplanet group tools for data processing. 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

uio_exoplanet_group-0.5.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

uio_exoplanet_group-0.5.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file uio_exoplanet_group-0.5.0.tar.gz.

File metadata

  • Download URL: uio_exoplanet_group-0.5.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for uio_exoplanet_group-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2887c84f5314ab49408b63dad5b6200a377fc591f9c190d950e75b7b402aaa8a
MD5 c00fcd59b59fce19ded86f0d32b1aec6
BLAKE2b-256 34e120ac013ce83bec14f4077e4d8b41af2d2537eba0d2f8f6add1aef4e3e440

See more details on using hashes here.

File details

Details for the file uio_exoplanet_group-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uio_exoplanet_group-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9deab3344d01588472cee72caab428adfedbdc4e3de6450f99d36d9d8bd689f3
MD5 a1245c29e3fb05de1e0cc6071d11c5b0
BLAKE2b-256 6f778fb8f678238ee62718cb204460ab0cedb9384646e8b8254883db573fb2d7

See more details on using hashes here.

Supported by

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