Skip to main content

a small bookmark api

Project description

bookmarks

trans rights!

a small bookmark api

Quickstart

$ python -m pip install artemis.bookmarks
$ export FLASK_APP=bookmarks.app
$ python -m flask db:init
$ python -m flask run

Configuration

By default, the DB is configured to stay in RAM, so it simply won't work.

The configuration file's name is bookmarks.toml, and it can reside in the following paths.

  • ./bookmarks.toml
  • ~/.config/bookmarks/bookmarks.toml
  • ~/.config/bookmarks.toml
  • /etc/bookmarks/bookmarks.toml
  • /etc/bookmarks.toml

Example configuration

SQLALCHEMY_DATABASE_URI='sqlite:////usr/share/bookmarks.db'
SERVER_NAME='bookmarks.example.com'

You need to check your WSGI runner's configuration to configure its listen interface.

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

artemis.bookmarks-0.0.2.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

artemis.bookmarks-0.0.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file artemis.bookmarks-0.0.2.tar.gz.

File metadata

  • Download URL: artemis.bookmarks-0.0.2.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for artemis.bookmarks-0.0.2.tar.gz
Algorithm Hash digest
SHA256 014426e5d987306a369f3504acba54d8fbae136adc76f4a29806dcffa5e4132b
MD5 4aa7af7b76fc172bf6c2ba46ea0bd767
BLAKE2b-256 acb39f53cd9ea7c455f01ecbaccb52caa429d2db45ff09a95bb306c49e02e5ac

See more details on using hashes here.

File details

Details for the file artemis.bookmarks-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: artemis.bookmarks-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for artemis.bookmarks-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd3c152a773e072668b1bee245debf719e1d524fecd2b7868101521b8502684
MD5 72f56b620516c816513bf5882b274f49
BLAKE2b-256 6393f40a62ba56a29e82b3a95ab3753b1918b6fb461c22ab4edba21ff3c9e8e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page