bobina 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bobina/__init__.py +6 -0
- bobina/__main__.py +5 -0
- bobina/cli/__init__.py +17 -0
- bobina/cli/args.py +911 -0
- bobina/cli/common.py +1264 -0
- bobina/cli/device.py +483 -0
- bobina/cli/documents.py +523 -0
- bobina/cli/history.py +153 -0
- bobina/cli/library.py +277 -0
- bobina/codes.py +158 -0
- bobina/config.py +75 -0
- bobina/datasource.py +441 -0
- bobina/editor.py +58 -0
- bobina/emulator.py +150 -0
- bobina/engine.py +475 -0
- bobina/escpos.py +150 -0
- bobina/export.py +98 -0
- bobina/features.py +45 -0
- bobina/fidelity.py +234 -0
- bobina/fileio.py +219 -0
- bobina/fonts/AtkinsonHyperlegible-Bold.ttf +0 -0
- bobina/fonts/AtkinsonHyperlegible-Regular.ttf +0 -0
- bobina/fonts/BarlowCondensed-Regular.ttf +0 -0
- bobina/fonts/BarlowCondensed-SemiBold.ttf +0 -0
- bobina/fonts/DejaVuSans-Bold.ttf +0 -0
- bobina/fonts/DejaVuSans.ttf +0 -0
- bobina/fonts/IBMPlexMono-Bold.ttf +0 -0
- bobina/fonts/IBMPlexMono-Regular.ttf +0 -0
- bobina/fonts/LICENSES.md +16 -0
- bobina/fonts/TerminusTTF-4.49.3.ttf +0 -0
- bobina/fonts/TerminusTTF-Bold-4.49.3.ttf +0 -0
- bobina/fonts/licenses/AtkinsonHyperlegible-OFL.txt +92 -0
- bobina/fonts/licenses/Barlow-OFL.txt +93 -0
- bobina/fonts/licenses/DejaVu-LICENSE.txt +187 -0
- bobina/fonts/licenses/IBMPlex-OFL.txt +93 -0
- bobina/fonts/licenses/Spleen-BSD-2.txt +24 -0
- bobina/fonts/licenses/Terminus-OFL.txt +93 -0
- bobina/fonts/spleen-12x24.otf +0 -0
- bobina/history.py +296 -0
- bobina/imaging.py +211 -0
- bobina/layout.py +1069 -0
- bobina/library.py +93 -0
- bobina/model.py +96 -0
- bobina/nudges.py +192 -0
- bobina/paper.py +104 -0
- bobina/parser.py +301 -0
- bobina/paths.py +24 -0
- bobina/pay.py +581 -0
- bobina/pdfout.py +86 -0
- bobina/preview.py +91 -0
- bobina/problem_help.py +133 -0
- bobina/profile.py +130 -0
- bobina/profiles/SOURCES.md +10 -0
- bobina/profiles/bixolon-srp-s300.toml +106 -0
- bobina/profiles/citizen-ct-s651.toml +100 -0
- bobina/profiles/epson-tm-l90.toml +113 -0
- bobina/profiles/epson-tm-m30iii.toml +112 -0
- bobina/profiles/epson-tm-p80-42col.toml +113 -0
- bobina/profiles/epson-tm-p80.toml +113 -0
- bobina/profiles/epson-tm-t20ii-42col.toml +113 -0
- bobina/profiles/epson-tm-t20ii.toml +113 -0
- bobina/profiles/epson-tm-t20iii.toml +113 -0
- bobina/profiles/epson-tm-t70-sa.toml +91 -0
- bobina/profiles/epson-tm-t70.toml +99 -0
- bobina/profiles/epson-tm-t70ii-ch-58mm.toml +113 -0
- bobina/profiles/epson-tm-t70ii-ch.toml +113 -0
- bobina/profiles/epson-tm-t70ii-sa.toml +113 -0
- bobina/profiles/epson-tm-t70ii.toml +113 -0
- bobina/profiles/epson-tm-t88ii.toml +112 -0
- bobina/profiles/epson-tm-t88iii.toml +99 -0
- bobina/profiles/epson-tm-t88iv-sa.toml +91 -0
- bobina/profiles/epson-tm-t88iv.toml +99 -0
- bobina/profiles/epson-tm-t88v.toml +113 -0
- bobina/profiles/metapace-t-1.toml +96 -0
- bobina/profiles/mtp-ii-58.toml +114 -0
- bobina/profiles/netbye-nbtp-5880.toml +91 -0
- bobina/profiles/netbye-nbtp-8040.toml +91 -0
- bobina/profiles/netbye-nbtp-8080.toml +91 -0
- bobina/profiles/netum-nt-5890k.toml +110 -0
- bobina/profiles/netum-nt-80-v-ul.toml +110 -0
- bobina/profiles/seiko-rp-f10-58mm.toml +106 -0
- bobina/profiles/seiko-rp-f10-80mm.toml +106 -0
- bobina/profiles/xprinter-xp-q80k.toml +91 -0
- bobina/profiles/yhdaa-yhd-8390.toml +104 -0
- bobina/profiles/zijiang-zj-5870.toml +98 -0
- bobina/profiles/zjiang-pos-5890.toml +110 -0
- bobina/rasterfont.py +320 -0
- bobina/realistic.py +41 -0
- bobina/rows.py +89 -0
- bobina/sources.py +332 -0
- bobina/state.py +71 -0
- bobina/templates/card.bob.md +19 -0
- bobina/templates/clothing-tag.bob.md +35 -0
- bobina/templates/food-label.bob.md +25 -0
- bobina/templates/jewelry-tag.bob.md +17 -0
- bobina/templates/label.bob.md +24 -0
- bobina/templates/note.bob.md +13 -0
- bobina/templates/pay-sign.bob.md +20 -0
- bobina/templates/receipt.bob.md +37 -0
- bobina/templates/sale-price.bob.md +23 -0
- bobina/templates/shelf-price.bob.md +21 -0
- bobina/templates/shipping-label.bob.md +39 -0
- bobina/templates/todo.bob.md +20 -0
- bobina/templating.py +899 -0
- bobina/transport.py +394 -0
- bobina/view.py +139 -0
- bobina-0.1.0.dist-info/METADATA +204 -0
- bobina-0.1.0.dist-info/RECORD +117 -0
- bobina-0.1.0.dist-info/WHEEL +4 -0
- bobina-0.1.0.dist-info/entry_points.txt +3 -0
- bobina-0.1.0.dist-info/licenses/LICENSE +21 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/AtkinsonHyperlegible-OFL.txt +92 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/Barlow-OFL.txt +93 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/DejaVu-LICENSE.txt +187 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/IBMPlex-OFL.txt +93 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/Spleen-BSD-2.txt +24 -0
- bobina-0.1.0.dist-info/licenses/src/bobina/fonts/licenses/Terminus-OFL.txt +93 -0
bobina/__init__.py
ADDED
bobina/__main__.py
ADDED
bobina/cli/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""bobina — print Markdown on thermal roll printers. See docs/CLI.md."""
|
|
2
|
+
|
|
3
|
+
from .args import main, make_parser, normalize # noqa: F401
|
|
4
|
+
from .common import ( # noqa: F401
|
|
5
|
+
CONFIRM,
|
|
6
|
+
DOC,
|
|
7
|
+
LEFT_OUT,
|
|
8
|
+
MODE,
|
|
9
|
+
OK,
|
|
10
|
+
PRINTER_ERR,
|
|
11
|
+
SECURITY,
|
|
12
|
+
STRICT,
|
|
13
|
+
UNREACHABLE,
|
|
14
|
+
USAGE,
|
|
15
|
+
Fail,
|
|
16
|
+
printer_overrides,
|
|
17
|
+
)
|