
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
.. image:: https://img.shields.io/pypi/v/justifier.svg :target: https://pypi.python.org/pypi/text-justifier
.. image:: https://readthedocs.org/projects/text-justifier/badge/?version=latest :target: https://text-justifier.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
Justify and hyphenate text in files and/or standard input. The program can be invoked as either text-justifier or justify .
pip3 install -U text-justifier
-w
, --width *INTEGER*
Width of text, not counting indent
-i
, --indent *INTEGER*
Number of spaces to add before text
-r
, --right-margin *INTEGER*
Determine the width of text to suit a specific column, i.e. right margin is
indent plus width.
-c
, --centre
, --no-centre
, --center
, --no-center
Automatically determine line width based on terminal width, with indent
mirrored on the right. Will probably not work with indent of 0 (the
default). Uses $COLUMNS
if the terminal size cannot be queried.
-s
, --simple-hyphen
Use simple hyphenation method.
-h
, --hyphen
Use pyphen library to hyphenate, which uses OpenOffice hyphenation
dictionaries.
-H
, --no-hyphenate
Turn hyphenation off.
Em dashes (— or --) should be used padded before random padding is done
Don't hyphenate URLs
Extract URLs, replace with placeholders and dump after paragraph; Use Markdown style or something similar i.e.
[text](url)
-> [text][URL_PLACEHOLDER]
and [URL_PLACEHOLDER]: url
[url] -> [0]
and [0]: url
Option (-f n) to add a first-line indent to each paragraph
Option (-n) to split paragraphs on newline instead of blank lines
Treat lines that begin with a list character as their own paragraph
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage
_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
FAQs
Justify and hyphenate text in files and/or standard input
We found that text-justifier demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.