No project description provided
Project description
README
This is a project written by Robert Lawrence for the purposes of the Ocean Leonid assessment.
Distribution
Github
To get started with the raw code, clone the repo and then run the following commands:
pip install poetry
poetry install
python main.py
The dash app is now available on your browser at http://localhost:8050
.
Docker
To deploy the dash app using docker use the following commands:
docker build . -t ocean_leonid
docker container run -p 8050:8050 ocean_leonid
The dash app is now available on your browser at http://localhost:8050
.
Pip package
I havent been able to create a PyPi account. But if I had then all that would need to be done is configure the credentials and then:
poetry build
poetry publish
Then to use the package:
pip install ocean_leonid
from ocean_leonid import show_viz
show_viz()
Tests
The testing is done using pytest
The configuration is in pyproject.toml.
To run the tests use:
pytest
External Dependencies
The external dependencies of this solution are the 2 API's that are called to get the data for the graph.
Project details
Release history Release notifications | RSS feed
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
Hashes for ocean_leonid-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1222ac5ec92e62b418bd49440f8431c07da08f6e7b4372939a3eeb8dc3d5be3 |
|
MD5 | 3dbf4185711f215ea76fa59831e203cb |
|
BLAKE2b-256 | a14e9370a3ea92a4f24616a66c077f05f5fe518aaa2f5734528727a9ed43c83d |