Skip to main content

Provides abstract and practical classes for formatting information in columns.

Project description

column_soso

Provides abstract and practical classes for formatting information in columns.

Strictly speaking, this library does not operate solely on columns, but may also arrange items in rows. Like the HTML FlexBox, data is arranged along a primary axis, partitioned along a cross -axis.

This is all abstract, though. The practical applications hide these implementation details.

Practical classes include:

StringColumns

Given a list of strings, and a maximum width, splits the strings a list of rows, providing functions to return each row as a string or print them to stdout.

Project details


Download files

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

Source Distribution

column_soso-1.0.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

column_soso-1.0.0-py2.py3-none-any.whl (14.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file column_soso-1.0.0.tar.gz.

File metadata

  • Download URL: column_soso-1.0.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for column_soso-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5c408a059c5ab51924e0f02519a609c8bab358824a42cfa9940cf47ece38f32f
MD5 a27efb0e2de67a5110fdc9aa18ce793c
BLAKE2b-256 ed203b1045d34834bbb9ba0f1e701dbe639a9904b804b2606d74e5e281269d3c

See more details on using hashes here.

File details

Details for the file column_soso-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: column_soso-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for column_soso-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0e1e98dcc09525bf8e7f75af8fba552ab168de68d932724441bb4905bb7acc93
MD5 6431e69ccf84a27a677c6c5615da801e
BLAKE2b-256 c37ccf228685129553d25e267af71e547a84df14fbfe7598bf355a1280459983

See more details on using hashes here.

Supported by

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