https://github.com/albireox/tron_lite
A minimal version of the tron message passing system
https://github.com/albireox/tron_lite
Last synced: 5 months 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T15:32:14.000Z (almost 5 years ago)
- Last Synced: 2024-12-30T00:52:32.750Z (7 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
[](https://docs.python.org/3/)
[](https://badge.fury.io/py/sdss-tron-lite)
[](https://albireox.github.io/tron_lite/)
[](https://github.com/albireox/tron_lite/actions?query=workflow%3ATest)
[](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 .
```