A text alignment justification package.
The text alignment justifies package will provide you four types of alignment.
- Left (Default)
- Right
- Center
- Justify both
When you use the above three justification then maybe have a blank space and that space you can also fill the empty place with your own identifiers like * # or anything.
Setup TextJustify
pip install TextJustify
Usage
import TextJustify
justify_text=TextJustify.justify_text(sample_text, width, align, fill)
print(justify_text)
Here fill is an optional value. If you don't pass any special symbol or identifier then it will use the default space.
sample_text = "Your text that you want to justify"
width = 50 # Here 50 is an example value and it will be integer
align = "left" # Default is "left". Rest of the alignment are "right", "center", "justify"
fill = " " # Default is a space. You can use your own like "*", "#" etc.
CHANGE LOG
0.0.5 (February 9, 2021)
- Added documentations
Metadata
Release files for TextJustify 0.0.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 |
|---|---|---|---|---|
| TextJustify-0.0.5.tar.gz | 3.1 kB | Without provenance | Details for TextJustify-0.0.5.tar.gz |
Release files / TextJustify-0.0.5.tar.gz
| Download URL | TextJustify-0.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bd2e0508930290a013462b708e43489e63f35007164efd954cd2cd7ca66f1c3
|
|
BLAKE2b-256 checksum How to use checksums |
48ad332e8ae3194dda829c79d4e8a91a4b53a54b5ae234a1774a719a1b559830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for TextJustify 0.0.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.