Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocean_leonid-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocean_leonid-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file ocean_leonid-0.1.0.tar.gz.

File metadata

  • Download URL: ocean_leonid-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/21.6.0

File hashes

Hashes for ocean_leonid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c456e70fd1d45426a8dd53440cb50fb39e73003c6c6a41154b51eb1cb20bf3e
MD5 2eec88cec0bd1cf35b61a62ed02e5ded
BLAKE2b-256 65b98216f1cd77b0b68c6dc4bf561896e5aa3db1a14bf9707841b989eb2f4134

See more details on using hashes here.

File details

Details for the file ocean_leonid-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ocean_leonid-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/21.6.0

File hashes

Hashes for ocean_leonid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1222ac5ec92e62b418bd49440f8431c07da08f6e7b4372939a3eeb8dc3d5be3
MD5 3dbf4185711f215ea76fa59831e203cb
BLAKE2b-256 a14e9370a3ea92a4f24616a66c077f05f5fe518aaa2f5734528727a9ed43c83d

See more details on using hashes here.

Supported by

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