Skip to main content

Database layer library

Project description

data-layer-lib

Database Layer Library

introduction

This is a library package for handling database models.

Getting Started

1- Clone the repository

2- To manually create a virtualenv

$ python -m venv .venv

3- To install all the dependencies

$ poetry install

4- To create a migration for the first time, execute the following command

$ alembic revision --autogenerate -m "migration name"

The same command can be used to generate a new migrations

5- Verify the alembic autogenerated db scripts

6- To apply migrations, execute the following command. This will to create/update tables in the database

$ alembic upgrade head

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

data_layer_lib-1.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_layer_lib-1.0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file data_layer_lib-1.0.2.tar.gz.

File metadata

  • Download URL: data_layer_lib-1.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for data_layer_lib-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b4440f1f955a535f0dbf00600b1bb9657815997b8faa5e65b24657d5467cea76
MD5 e9a14e272f81ac30a8b5fe2f7ff7953f
BLAKE2b-256 4ecdea381b5e244561f9110180a760cfe4d8b90d24c348296f26522ba1497224

See more details on using hashes here.

File details

Details for the file data_layer_lib-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: data_layer_lib-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for data_layer_lib-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c935230d0bccc988db2912001887b55d9b75d9c2fe9f9c787717bcd07caf7250
MD5 086457703c17b4273dd19ccd17190420
BLAKE2b-256 7344a3c67a680171d5e069239e9d3055a514a9b4c93989ff4b9631e471b6ba96

See more details on using hashes here.

Supported by

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