Skip to main content

Pyprika

Python Package to talk to Paprika's backend server.

Features

  • Configurable periodic retrieval of data
  • Recipes, Categories, Meals, Menus are all linked via relational id
  • Ability to filter recipes that include categories, exclude categories, total cook/prep duration, recipe difficulty and recipe names.

Usage

Initialize

Initialize Pyprika with your username and password from your mobile app. If you so choose, you can also tell it to auto fetch after a certain delay:

pyprika = Pyprika(username, password)
pyprika = Pyprika(username, password, fetch_delay=timedelta(hours=2), auto_fetch=True)

Get all data

recipe_book = pyprika.get_all()

Filter recipes

recipes = pyprika.get_recipes(
            categories=None,
            not_categories=None,
            difficulty=None,
            duration=None,
            name_like=None,
            name_not_like=None
          )

NOTE All arguments here are optional. Passing no arguments will return every recipe.

Enable/disable auto fetch

pyprika.set_auto_fetch(True)  #Enable auto-fetch after delay
pyprika.set_auto_fetch(False)  #Disable auto-fetch immediately

Metadata

Release files for pyprika-client 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 pyprika-client 0.2.1
File Size Uploaded Provenance
pyprika-client-0.2.1.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyprika-client 0.2.1
File Interpreter ABI Platform
pyprika_client-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / pyprika-client-0.2.1.tar.gz

Download URL pyprika-client-0.2.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
099442b3843c198e53a248fd1765131563d439855dc449884a1d9227c0b173ee
BLAKE2b-256 checksum
How to use checksums
68de2eadca8d090843fe3a80cb7d12a09c3abc10c1204ec210f7d4b8b943acc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / pyprika_client-0.2.1-py3-none-any.whl

Download URL pyprika_client-0.2.1-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21c707ec63178f8da0b8a2438c44a2e27b7b8ea9ccbfd53652f7fe4d55d2b3bb
BLAKE2b-256 checksum
How to use checksums
6c2ff9c52d6f9c4fed2e71e3e09e1b3d9ca3b6cb218846c61df23cc9c0a91a2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for pyprika-client 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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