Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albireox/tron_lite
A minimal version of the tron message passing system
https://github.com/albireox/tron_lite
Last synced: about 1 month ago
JSON representation
A minimal version of the tron message passing system
- Host: GitHub
- URL: https://github.com/albireox/tron_lite
- Owner: albireox
- License: bsd-3-clause
- Created: 2020-08-26T14:12:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T15:32:14.000Z (over 4 years ago)
- Last Synced: 2024-11-07T23:47:38.578Z (3 months ago)
- Language: Python
- Homepage: https://albireox.github.io/tron_lite/
- Size: 277 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# tron_lite
[![Versions](https://img.shields.io/badge/python->3.7-blue)](https://docs.python.org/3/)
[![PyPI version](https://badge.fury.io/py/sdss-tron-lite.svg)](https://badge.fury.io/py/sdss-tron-lite)
[![Documentation](https://github.com/albireox/tron_lite/workflows/Docs/badge.svg)](https://albireox.github.io/tron_lite/)
[![Test](https://github.com/albireox/tron_lite/workflows/Test/badge.svg)](https://github.com/albireox/tron_lite/actions?query=workflow%3ATest)
[![codecov](https://codecov.io/gh/albireox/tron_lite/branch/master/graph/badge.svg)](https://codecov.io/gh/albireox/tron_lite)A minimal version of the tron message passing system.
## Rationale
`tron_lite` is a rewrite of the SDSS [tron](https://github.com/sdss/tron) product, written in Python 3 and following modern packaging conventions. A significant part of `tron`'s codebase is not used in SDSS and poorly understood. `tron_lite` aims to rebuild the package from the ground up, starting with basic functionality and logging, and adding features as needed, while making sure the code is properly documented.
## Installation
In general you should be able to install ``tron_lite`` by doing
```console
pip install sdss-tron-lite
```To build from source, use
```console
git clone [email protected]:sdss/tron_lite
cd tron_lite
pip install .
```## Development
`tron_lite` uses [poetry](http://poetry.eustace.io/) for dependency management and packaging. To work with an editable install it's recommended that you setup `poetry` and install `tron_lite` in a virtual environment by doing
```console
poetry install
```Pip does not support editable installs with PEP-517 yet. That means that running `pip install -e .` will fail because `poetry` doesn't use a `setup.py` file. As a workaround, you can use the `create_setup.py` file to generate a temporary `setup.py` file. To install `tron_lite` in editable mode without `poetry`, do
```console
pip install --pre poetry
python create_setup.py
pip install -e .
```