saizeriya
Unofficial Saizeriya Client, inspired by saizeriya.js
Installation
# from mise
mise use pipx:saizeriya # CLI only
mise use 'pipx:saizeriya[extras=tui]' # CLI+TUI
# from pipx
pipx install saizeriya # CLI only
pipx install 'saizeriya[tui]' # CLI+TUI
# from pip
pip install saizeriya # CLI only
pip install 'saizeriya[tui]' # CLI+TUI
Usage
CLI
saizeriya --help
$ saizeriya --help
usage: saizeriya [-h] <command> ...
Saizeriya order CLI.
positional arguments:
<command>
start Start a new ordering session
use Resume a saved session
list List saved sessions
rm Remove a saved session
tui Launch the Textual TUI (requires the 'tui' extra)
fetch-menu Crawl menu data for shops
options:
-h, --help show this help message and exit
available commands in start/use REPL:
state
Show current session state
people <count>
Set number of people at the table
lookup <code>
Look up an item by code
add [--mod-id MOD_ID] [--mod-count MOD_COUNT] [--reorder] <code> [<count>]
Add an item to the cart
cart
Show cart contents
cart-page
Navigate to the cart page
remove <index>
Remove an item from the cart by index
submit
Submit the current order
account
Show account summary
receipt
Show receipt
call [{staff,dessert}]
Call staff or dessert service
menu
Navigate to the menu page
history
Navigate to order history
reorder <code>
Reorder a previously ordered item
alcohol
Confirm alcohol order
check {order,last,midnight}
Check order/last-order/midnight status
help
Show this help message
exit
Exit the REPL
quit
Exit the REPL
To start session named lunch and ener REPL:
saizeriya start lunch "https://ioes03.saizeriya.co.jp/saizeriya3/?..."
TUI
# on the terminal
saizeriya tui
# on the web
saizeriya tui --serve
Docker
docker run --rm -it ghcr.io/eggplants/saizeriya
Library
import saizeriya
# check version
print(saizeriya.__version__)
# create client instance
client = saizeriya.SaizeriyaClient(
qr_url_source="https://ioes03.saizeriya.co.jp/saizeriya3/?...",
people_count=2,
)
# add new item to cart
in_cart_items = client.add_item('1202').cart
# check in-cart items
print(in_cart_items)
Mock server (saizeriya._mock)
pip install saizeriya[mock]
saizeriya-mock-server
Then, visit http://localhost:8080/.
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saizeriya-0.2.0.tar.gz
(1.8 MB
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
File details
Details for the file saizeriya-0.2.0.tar.gz.
File metadata
- Download URL: saizeriya-0.2.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf63282af4c8d101d66c2ea2bbdbc07a05770e8019ca44ba87937becb0c01cd
|
|
| MD5 |
751c003699b9a9cc1c6bf11db3b127a8
|
|
| BLAKE2b-256 |
8c69f00c7b180e0dd5c5913637ffb5e7fced8a6e31b71a8257d250b5dee77545
|
File details
Details for the file saizeriya-0.2.0-py3-none-any.whl.
File metadata
- Download URL: saizeriya-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
856be07dad5de9403ad85c359484f73a40ed860d87a86560df46b6eb96bee511
|
|
| MD5 |
0ea3292166465f1a3c82856b8f2e26a6
|
|
| BLAKE2b-256 |
f6f886400f38cb0924ea9006b67e0ec8ee7ba5923214ba4aa2660e2649724ae6
|