Skip to main content

A simple database package example

Project description

pkgexampledatabases

A RexBytes example package that shows you how to,

  1. Create and address an sqlite3 database inside your python package.
  2. Create and address an sqlite3 database at anyother location on a filesystem. Access to a users home directory is used as the example.

The following config files are used to describe two sqlite databases.

  1. /pkgexampledatabases/data/config/packagedb.json This is the json description file for the database that is constructed inside your package.

  2. /pkgexampledatabases/data/config/userdb.json This is the json desctiption file for the database that is constructed inside a users home directory.

You can have as many database entries in the above files as you like. It is convenient to describe your databases in json format and let your package create the end user databases.

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

pkgexampledatabases-0.0.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

pkgexampledatabases-0.0.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file pkgexampledatabases-0.0.5.tar.gz.

File metadata

  • Download URL: pkgexampledatabases-0.0.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pkgexampledatabases-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9d971e5ddfa933f87297279f09ad3b8945b983710800c5d0d2a895d7b9dcb9e2
MD5 7bcb09eb0b04d5deda3e3b2e204feef3
BLAKE2b-256 a0f6f4c0fb10c9c345500ca022591edcae23351bd47d07b033af34cb77fa55db

See more details on using hashes here.

File details

Details for the file pkgexampledatabases-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pkgexampledatabases-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9e29529ef2a5f909e5f934a62f409ef0ee59931461c2c90c99a1a47ce0755ac1
MD5 f3ba0242c437881f32bc8d5119642d01
BLAKE2b-256 ea231678e89180e07505bcf2663a89f81997d0df270e8fcebb97606f993087b1

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