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.2.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

mimosa_monomer-0.2.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mimosa-monomer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e5a04c2e172afcaeec8f0afb5c04eb783ac2e7332faba17ab25cca61044841c4
MD5 df1c0cdabac922aa188c02186ee5ecec
BLAKE2b-256 a5892a452bc78e0ea818feb848d497b429603ccc199bddf5ff9c1d9eeb1425bb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mimosa_monomer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f71372e5185a046269638183927ac8726d7c66aad69ea94c5145463f989ba819
MD5 d18ca37f025315261d58b03e38d09f81
BLAKE2b-256 da13c8fa71903cff8351e84161126f5ea40b2bb70f45970d7193d4340455f830

See more details on using hashes here.

Supported by

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