Skip to main content

CLI for Stilt 2 database.

Project description

mimosa

Database management CLI for Stilt 2.

Installation

Run pip install mimosa_monomer-0.0.1-py3-none-any.whl to install the package into your chosen python environment.

Be sure to update to the current wheel filename.

Usage

Run mimosa in the terminal. Select the service account key file for the desired Firebase project to connect to. Follow the prompts.

Development

Run all tests with tox command.

Run tests and recreate virtual environments with tox --recreate.

Docker Development Environment

You'll need Docker installed on your machine, obviously 😁.

Clone This Repository

git clone https://github.com/hhelmric/mimosa.git
cd mimosa

Build The Image

From cloned directory (where Dockerfile is located):

docker build . -t mimosa:latest

If you have updated pyproject.toml, and are experiencing odd behavior, you may need to rebuild the image to get the correct dependencies.

Run The Container

From cloned directory.

docker-compose run app

This will run the container and begin a Bash terminal within. The local source code directory will be synced with the container's /code directory. Changes you make to source code in your IDE should be reflected in the container.

From here you can execute commands:

  • tox or tox -e py38 to run tests against the installed version of the package.
  • poetry add some_package or poetry add --dev some_package to add dependencies to pyproject.toml.
  • python -m mimosa.main from within src folder to run the program against the non-installed source file.
  • poetry build builds the package for distribution.
  • poetry publish publishes package on pypi. You'll need a pypi account and to be added to the project as a collaborator.

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

mimosa-monomer-0.1.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

mimosa_monomer-0.1.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file mimosa-monomer-0.1.0.tar.gz.

File metadata

  • Download URL: mimosa-monomer-0.1.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-52-generic

File hashes

Hashes for mimosa-monomer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41a3a6d8f8c92c5f6be7a7431f5fede9e6179c5049b4db3b401d03f7692cb756
MD5 fdda3ecf3f4008c50496ba55495c6552
BLAKE2b-256 1e880497a59b414ffa55147334f2cd9d07610e4af37130db5eb91dd8f48d63cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mimosa_monomer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-52-generic

File hashes

Hashes for mimosa_monomer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11d141950a513db2a3a336ea2c88270d11e5ca029dcb371254c183f4d0d8bb3f
MD5 cf6876e719abefc051b7167e991c3f11
BLAKE2b-256 2724646bd2af0240432991152cefec77c07de94ae28ab282fff284f3fc070d05

See more details on using hashes here.

Supported by

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