Skip to main content

A Python Console application to handle media libraries like Git and DVC

Project description

Nautilus Librarian

Lint Code BasePublish Docker imageTest

A Python Console application to handle media libraries like Git and Dvc.

Development

Run

With docker:

Build:

./bin/docker/build.sh

Run pre-built docker image:

./bin/docker/run.sh [OPTIONS] COMMAND [ARGS]...
./bin/docker/run.sh --help

Run mounting current repo:

./bin/docker/run-dev.sh [OPTIONS] COMMAND [ARGS]...
./bin/docker/run-dev.sh --help

With Poetry:

poetry install
poetry run nautilus-librarian [OPTIONS] COMMAND [ARGS]...
poetry run nautilus-librarian --help

NOTE: With Poetry, you have to install the Librarian system dependencies.

Testing

With docker:

./bin/docker/test.sh

With Poetry:

poetry shell
pytest

or:

poetry run pytest --cov

Linting

For Dockerfile:

We are using GitHub Action super-linter. If you want to check the Dockerfile linting before pushing, you can do it with:

docker run --rm -i hadolint/hadolint < Dockerfile

Run super-linter locally with act:

act -W .github/workflows/linter.yml -j build

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

nautilus-librarian-0.1.0.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

nautilus_librarian-0.1.0-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

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