doscmd-screen
– Screen positioning and colors in the dos shell (and unix too)
Installation
pip install doscmd-screen
Changes
Version 1.1.0 introduces Screen.color("txt", fg='white', bg='blue') which returns a string that can later be printed.
Version 1.0.3 introduces thread safe window areas through the Window class.
Changes in version 1.0 include support for non-dos platforms, a visual test script, and zero-based indexing of screen positions. Since the last one is a backwards incompatible change I have upped the major version number. I don’t forsee any further backwards incompatible changes in this module.
Documentation
The documentation lives at http://doscmd-screen.readthedocs.org/
Usage
Straight forward positioning and terminal colors in the terminal:
import screen # screen probably needs to be your first import.
scr = Screen()
scr.centerxy(scr.center, scr.middle, '((.))')
scr.writexy(scr.left, scr.bottom,
'left bottom',
color='black', on='red')
Works for both Windows..
..and unix-like terminals:
Metadata
Release files for dosbox-screen 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dosbox-screen-1.1.5.tar.gz | 7.5 kB | Without provenance | Details for dosbox-screen-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dosbox_screen-1.1.5-py2-none-any.whl | Python 2 | none | any | Details for dosbox_screen-1.1.5-py2-none-any.whl |
Total release size: 16.0 kB
Release files / dosbox-screen-1.1.5.tar.gz
| Download URL | dosbox-screen-1.1.5.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
075986dde00e92c4906c227ba41d7bd61bd7fe33bd230aff81fad10ed1c3c039
|
|
BLAKE2b-256 checksum How to use checksums |
16d9eff656ae911373b8ccbe9878351abca60f1c93a0defe78299448554cf1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.10.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.16
|
Release files / dosbox_screen-1.1.5-py2-none-any.whl
| Download URL | dosbox_screen-1.1.5-py2-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1e52550906ba22dbcf53c6d04e35faa0a2eef49ae5990606d19d70e8450ae401
|
|
BLAKE2b-256 checksum How to use checksums |
08ddd09e7f96d015214a2799fd35129ff9d013198f227a1eda4745edf9f97d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.10.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.16
|
Security for dosbox-screen 1.1.5
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.