Skip to main content

justification script

Project description

Juster

Script for justification text with newlines and delimiters

Install

.. code-block:: python

pip install juster

Usage

.. code-block:: python

from juster import justify

print(justify.__doc__)
data = "some;thing;here\nvery;next;line"
out = justify(data)
print(out)
  • 'justify' function parameters:
    • content - text with newlines and delimiters, to be converted / from version 0.1.2 it also can be list(tuple) of lists(tuples)

    • grid - True/False value, grid inside; default is True

    • frame - True/False value, frame around; default is False

    • enumerator - True/False value, will add enumerator column on the left

    • header - True/False value, will extract first row from content as header

    • topbar - str value. Topbar will be added on the top

    • newline - newline symbol; default is '\n'

    • delimiter - delimiter symbol; default is ';'

    • justsize - justify size; default is 4

Example

.. code-block:: python

from juster import example

example()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

juster-0.1.2-py3.6.egg (6.7 kB view details)

Uploaded Source

juster-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file juster-0.1.2-py3.6.egg.

File metadata

  • Download URL: juster-0.1.2-py3.6.egg
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.0

File hashes

Hashes for juster-0.1.2-py3.6.egg
Algorithm Hash digest
SHA256 e9a9f66d3eedbb773195091fcfb0680438ac5a631d82fe585596f66d935ec5c1
MD5 38aeb7accf055b88c071fd02f1669ae0
BLAKE2b-256 772ff8fcb3c9a3a92618be27f42e0d8a1868e972f1d315bf6615f07cca16e43f

See more details on using hashes here.

File details

Details for the file juster-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: juster-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.0

File hashes

Hashes for juster-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57ddd0417b3fba1cab8b42434465ec0488322dcb82fd2d66164157ead0efee8c
MD5 784769004be9ddb6191397add1b7e92d
BLAKE2b-256 342346dd62540f44fea9af7342ec639cb994b1f5e05cca1a963bdd04b1c1bfe1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page