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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ankipan_db-0.5-py3-none-any.whl
(31.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ccf88b37ed10f175fc90dccc6681902123a6c4fe4b373e6e1f105202227c8d7
|
|
| MD5 |
e9a98c2a3c4f817ad232a0e425d23bb2
|
|
| BLAKE2b-256 |
358a2db3a0389ee813bea0d472df274208b0f6ea8503df1535997c2291eb55b4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3d004efb68064355032ce82b31f2eee06c44ced7419d9838ecd7f3031ca5c02
|
|
| MD5 |
2b632f53da617a14325044d9c90943d9
|
|
| BLAKE2b-256 |
4a50c5845cdcf54bda57e8dec7cc6431eef232de7655f21b3b3a8ca948b75435
|