Skip to main content

Server Implementation for ankipan module

Project description

ankipan_db

Database for Ankipan (https://gitlab.com/ankipan/ankipan)

Getting started

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib -y
sudo service postgresql start
sudo -u postgres psql
CREATE ROLE root WITH LOGIN PASSWORD 'secure_password' CREATEDB;
CREATE DATABASE ankipan_db OWNER root;

# create .env file with db connection data (see __init__.py)

python3 -c "db = DBManager();db.make_schema()"

# fill db with data (see help(SourceParser.sync_dir) and /examples/add_data_to_db.ipynb)

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

ankipan_db-0.6.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

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

ankipan_db-0.6-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file ankipan_db-0.6.tar.gz.

File metadata

  • Download URL: ankipan_db-0.6.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for ankipan_db-0.6.tar.gz
Algorithm Hash digest
SHA256 9b1d6a6eebfbed12ee6f6c2890ef96add2b8d2719cd59f4d52cf4edc1d2b32b0
MD5 56ae6a63d6e3402c974a482bb0e62b6d
BLAKE2b-256 a95f3099c136c2166a9dab34ba04820bacb99feeb5a4f56e695a3840131b6f71

See more details on using hashes here.

File details

Details for the file ankipan_db-0.6-py3-none-any.whl.

File metadata

  • Download URL: ankipan_db-0.6-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for ankipan_db-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 32eea792a842ebb5461e2333d52b334dd55daf1b1051900e3a9802bc365af6a6
MD5 27770c187dcdeba779cce4c3edddf567
BLAKE2b-256 ff20707e4bbf49f74f29d2e9215825df74d8b4408add5a233c9d5f3e65f3c043

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