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)
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.2-py3-none-any.whl
(26.0 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1f6b65ccb9b37cc9ab8acd9f278a55edae5e9f386fd8083ad96b3bdacb83552
|
|
| MD5 |
9c8f197db1a98f36914cd96ae4569b4a
|
|
| BLAKE2b-256 |
15b6a812aaabc50c793f05c053ef3d9bd3df220643a0f0f0baa1dd22fb8625a7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
157fd4b680796f96b91394eea8b547958c23a0927e5586974e4eb7b36231aad9
|
|
| MD5 |
35a83a897776bfbd46fd0be304d97e7e
|
|
| BLAKE2b-256 |
18074c6e187dbac2053baeb668e440616259ae3a59fbbadab9badda6e6a48f7b
|