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.2.tar.gz (26.0 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.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ankipan_db-0.2.tar.gz
  • Upload date:
  • Size: 26.0 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.2.tar.gz
Algorithm Hash digest
SHA256 e1f6b65ccb9b37cc9ab8acd9f278a55edae5e9f386fd8083ad96b3bdacb83552
MD5 9c8f197db1a98f36914cd96ae4569b4a
BLAKE2b-256 15b6a812aaabc50c793f05c053ef3d9bd3df220643a0f0f0baa1dd22fb8625a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ankipan_db-0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 157fd4b680796f96b91394eea8b547958c23a0927e5586974e4eb7b36231aad9
MD5 35a83a897776bfbd46fd0be304d97e7e
BLAKE2b-256 18074c6e187dbac2053baeb668e440616259ae3a59fbbadab9badda6e6a48f7b

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