Skip to main content

No project description provided

Project description

command usage (CLI)

See list of commands with
rin_pj1 --help

Error logging is only compatible with exec-based-on-env
read_csv_and_insert_to_db : Adds contents of provided csv to a .db file
export_db_to_csv : Adds contents of provided db to a .csv file

set-config

Executes read_csv_and_insert_to_db and export_db_to_csv functions with the given config file. If no path is provided, tries to open config.yaml in the current directory.
 rin_pj1 set-config --path path/to/config.yaml

for default/config in current directory, use main1


set-db

Executes read_csv_and_insert_to_db and export_db_to_csv functions with the db_name provided by user.

rin_pj1 set-db saves data.db in current directory
rin_pj1 set-db db_name saves to db_name in current directory. Will create a file if not present


exec-based-on-env

Executes read_csv_and_insert_to_db and export_db_to_csv functions with csv file depending on the environment type
rin_pj1 exec-based-on-env

If you want to run the command in a different environment,

poetry shell
export APP_MODE="env_name"
main exec-based-on-env

Available env_name options are development, testing and production.


Successful executioni should print confirmation message in terminal. If there is no output, check for a mpj1_errors.log file to determine the error.

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

rin_proj1-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

rin_proj1-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file rin_proj1-0.1.2.tar.gz.

File metadata

  • Download URL: rin_proj1-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic

File hashes

Hashes for rin_proj1-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5a40f26cdc9e501da4ecf5c50e9a15c32302a9893df5590633022bb36dd0a280
MD5 3b7fe83a37819e40a6ed821e43a06a4d
BLAKE2b-256 30fdb658215f2572b89595a1a7e13b6a13825cc38edae91df8971cc7ddf652ae

See more details on using hashes here.

File details

Details for the file rin_proj1-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rin_proj1-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic

File hashes

Hashes for rin_proj1-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f740b03ec3b4df6bf32442645db99d3f78bd682a1adad07044659f4c9a02edd2
MD5 cd88329329521168a2bac6066b66e311
BLAKE2b-256 2a8b4011da03d70fce3e285cb167080c1fe86c9ba16599cc1dc62ab0f97d187b

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page