Skip to main content

Paprika To SQLite

PyPI version

Takes a paprikarecipe file exported from Paprika and converts it to an sqlite db.

Tables:

  • recipes
  • recipes_to_categories
  • recipes_to_photos
  • categories
  • photos

Useful with Datasette.

Install

pip install paprika-to-sqlite
# or pip install paprika-to-sqlite[datasette]

Usage

paprika-to-sqlite --version
paprika-to-sqlite --help
paprika-to-sqlite my_export.paprikarecipes paprika.db

Usage with datasette

If you have paprika-to-sqlite and datasette installed in the same environment, you can use datasette to look at any recipe. First, launch datasette:

datasette paprika.db

This will add a paprikarecipe link to individual row pages:

Link Image

and a url handler for /-/paprika-recipe/<recipe-id>. This will display the recipe as a simple webpage:

Page Image

Metadata

Release files for paprika-to-sqlite 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paprika-to-sqlite 0.2.1
File Size Uploaded
paprika_to_sqlite-0.2.1.tar.gz 6.4 kB Details

Release files / paprika_to_sqlite-0.2.1.tar.gz

Download URL paprika_to_sqlite-0.2.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c1bb73d0df5e0d6aada26acf001444097c69669f43f91c5a7fb96dfe4b7a2c3e
BLAKE2b-256 checksum
How to use checksums
a8019aeeff57be2d1d9c65c62b575f29589c1b72b4cb1c37e3fb0dbd28bcb670
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page