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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ankipan_db-0.1.tar.gz
  • Upload date:
  • Size: 24.7 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.1.tar.gz
Algorithm Hash digest
SHA256 7176ae1c6115aef1795219575b301e51d28ed3db27a9dfcf8609832b75b11667
MD5 ed94fe7e34ed25fac729125171d537f2
BLAKE2b-256 dd595b93d530be435bc4617afd988248fdd80ca385fc7eafe09d30d7ea356198

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ankipan_db-0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7313aecb95fb2acdd57ea55f1a6e2ca5ac793a27518702d61a77761566da23b6
MD5 0b6ee96369c90d52ea94d44e74e05f70
BLAKE2b-256 2609118fdf37dc3431eb4a31aaac8d8979616611a5a12d4a6e5466f004b54280

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