Skip to main content

No project description provided

Project description

command usage (CLI)

See list of commands with
main --help

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

get-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.
main get-config --path path/to/config.yaml

for default/config in current directory, use main1


get-db

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

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


get-env

Executes read_csv_and_insert_to_db and export_db_to_csv functions with csv file depending on the environment type
main get-env

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

poetry shell
export APP_MODE="env_name"
main get-env

available env_name options are development, testing and production.


The above commands can be run with poetry as well. Add poetry run in front of each command)

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

Uploaded Source

Built Distribution

rin_proj1-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rin_proj1-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 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.0.tar.gz
Algorithm Hash digest
SHA256 378d24c8c898c2fdd4ba4d1527ba777693830697e4bc1f759fe90030045bf8cb
MD5 4cd0b282f70574f442d03decb276eb73
BLAKE2b-256 80a2f5b91ec6c2a69bc1fd43c1d853ec01a4158a71864fcb3d7a88b9d99962c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rin_proj1-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cdd49c3419c6249a139bf9352ae8f9e3fbd4c099a1bd8007d6d2dfa502bc9a5
MD5 039edccd4633f81292e46bbaf8e1bd5b
BLAKE2b-256 8f209621d91068948be9d180da36f84f92b34856f88addd205fed7a2a3c80d69

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