tdim - Show and help size terminal dimensions
A simple tool to help when I want to size any terminal "just so".
Installation
pipx
The package can be installed using pipx:
$ pipx install tdim
Homebrew
The package is available via Homebrew. Use the following commands to install:
$ brew tap davep/homebrew
$ brew install tdim
Usage
To run the tool, just run tdim. Once you run it up you'll see a simple
display of the dimensions of your terminal. Resize your terminal and be
amazed as the numbers change!
You can show/hide a border by pressing b.
To aim seeking a specific aspect ratio, a number of keys are set up for common ones. When pressed the border will be shown, the width set to the width of your terminal at that moment, and then height to the corresponding target height for that ratio.
The keys are:
| Key | Ratio |
|---|---|
| 0 | Clear target ratio |
| 1 | 16 x 9 |
| 2 | 4 x 3 |
| 3 | 2 x 1 |
| 4 | 1 x 1 |
To exit the application press Esc.
Metadata
Release files for tdim 0.3.0
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 |
|---|---|---|---|---|
| tdim-0.3.0.tar.gz | 3.3 kB | Without provenance | Details for tdim-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tdim-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for tdim-0.3.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / tdim-0.3.0.tar.gz
| Download URL | tdim-0.3.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
070c565894049a223ef087edfc2ddaae7c76b7ef62efdd221955a2858989facc
|
|
BLAKE2b-256 checksum How to use checksums |
3f80eacd95f4b42182daade61b2f0ad607868c7db1aab54852e5dc8d39f1c0f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / tdim-0.3.0-py3-none-any.whl
| Download URL | tdim-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fa1f3847c7b7ad2494dc5e27b2fe26b5d4537dcd60f5d475eb625a2386d5768
|
|
BLAKE2b-256 checksum How to use checksums |
6e3400b75ae5a859a711af6b8a6e7cadcf721e39fe5142c22beda94aabe6833a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Security for tdim 0.3.0
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.