Skip to main content

Polední menu

This utility will scrap daily menues from nearby restaurants and send them via e-mail. It is based on very simple modular architecture where each extractor presents similar API.

Instalation

Use Python 3.6 virtual environment to install all necessary dependencies:

$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -U pip
(venv) $ pip install git+https://github.com/oskar456/poledni-menu

After installation, you’ll get three new runables:

poledni-menu-print <extractor>

Call given extractor and print its output to the standard output.

poledni-menu-digest <config file>

Read a list of extractors and their parameters from a YAML config file. Print daily menu digest to the standard output.

poledni-menu-email <config file>

Read a list of extractors and their parameters from a YAML config file. Send an e-mail with the digest to e-mail addresses configured in the config file.

Configuration file example

---
menu:
 - potrefena_husa
 - kulatak
 - budvarka
 - blox
 - extractor: agata
   place_id: 3
 - extractor: agata
   place_id: 5
 - bernard_pub

email:
  server: localhost
  sender: Foodmaster <foodmaster@example.com>
  recipients:
          - Root <root@localhost>
          - postmaster@example.com
...

Metadata

Release files for poledni-menu 0.15

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

Source distribution (sdist)

Source distribution for poledni-menu 0.15
File Size Uploaded Provenance Actions
poledni-menu-0.15.tar.gz 7.7 kB Without provenance Details for poledni-menu-0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poledni-menu 0.15
File Interpreter ABI Platform Actions
poledni_menu-0.15-py3-none-any.whl Python 3 none any Details for poledni_menu-0.15-py3-none-any.whl

Total release size: 22.8 kB

Release files / poledni-menu-0.15.tar.gz

Download URL poledni-menu-0.15.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b979bc4e54381e1024596d33cd4ac4aa8a9d7a08bec33dc03f2cb87b5f059d
BLAKE2b-256 checksum
How to use checksums
cc33e2f0d523f66ba24f0ed06415e3a08174cfcf16685630515479f4118f848a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.20.1 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.10

Release files / poledni_menu-0.15-py3-none-any.whl

Download URL poledni_menu-0.15-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed6cb85d9c93c2ab3048ec93173516c901c895fa198592364f77ea3710e53a6f
BLAKE2b-256 checksum
How to use checksums
e4e83684a485a5eba1b1982aaeb7145d3f953ed1287f85ea78bb8c05f8651dab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.20.1 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.10

Security for poledni-menu 0.15

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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