Skip to main content

the printb python module

This is a small wrapper around the python-bidi

It has the following api:

printb.printb(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)

Adds a wrapper for python built-in print If any one of the arguments passed via *objects is a string, then swap it with bidi.algorithm.get_display

printb.input([prompt])

Adds a wrapper for python built-in input, when a prompt string argument is passed then it is swapped before printing

Example usage

See the test_bidi test file

Installation

pip3 install python-bidi

Then install this package:

pip3 install printb. See package on pypi

Metadata

Release files for printb 1.0.2

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

Source distribution (sdist)

Source distribution for printb 1.0.2
File Size Uploaded
printb-1.0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for printb 1.0.2
File Interpreter ABI Platform
printb-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / printb-1.0.2.tar.gz

Download URL printb-1.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4416e92788dc3de1c9dd5bce1bca06f1af8f2360268ed5954b0a7141e7491e28
BLAKE2b-256 checksum
How to use checksums
309f9efbd8d09980feea60e9b8e4433525718a4a433a31f72ef6efbc2f3bede3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / printb-1.0.2-py3-none-any.whl

Download URL printb-1.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02d22becd5fba2d3a8d4ed40a055bfd5c8e9279c0ca37875d81cac933b0141b8
BLAKE2b-256 checksum
How to use checksums
981b32811963917376b65f9d2aa86d13300c866b4a6681d499f4fcd80c1a5587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

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