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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ankipan_db-0.5.tar.gz
  • Upload date:
  • Size: 32.4 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.5.tar.gz
Algorithm Hash digest
SHA256 2ccf88b37ed10f175fc90dccc6681902123a6c4fe4b373e6e1f105202227c8d7
MD5 e9a98c2a3c4f817ad232a0e425d23bb2
BLAKE2b-256 358a2db3a0389ee813bea0d472df274208b0f6ea8503df1535997c2291eb55b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ankipan_db-0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3d004efb68064355032ce82b31f2eee06c44ced7419d9838ecd7f3031ca5c02
MD5 2b632f53da617a14325044d9c90943d9
BLAKE2b-256 4a50c5845cdcf54bda57e8dec7cc6431eef232de7655f21b3b3a8ca948b75435

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