fixfmt


Namefixfmt JSON
Version 0.5.6 PyPI version JSON
download
home_pagehttps://github.com/alexhsamuel/fixfmt
Summaryfixed-width formatters for C++ and Python
upload_time2017-08-12 21:47:42
maintainer
docs_urlNone
authorAlex Samuel
requires_python
licenseApache 2.0
keywords formatting
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
A C++ and Python library for formatting values (numbers, strings, etc.)
in fixed-width fields. Useful for printing tabular data and similar.

For example, strings:

.. code:: py

    >>> fmt = fixfmt.String(10)
    >>> fmt("testing")
    'testing   '
    >>> fmt("Hello, world!")
    'Hello, wo…'

and numbers:

.. code:: py

    >>> fmt = fixfmt.Number(3, 3)
    >>> fmt(math.pi)
    '   3.142'

Includes C++ and Python libraries.  Requires a C++14 compiler and GNU Make to
build.

            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "formatting", 
    "upload_time": "2017-08-12 21:47:42", 
    "author": "Alex Samuel", 
    "home_page": "https://github.com/alexhsamuel/fixfmt", 
    "github_user": "alexhsamuel", 
    "download_url": "https://pypi.python.org/packages/df/d3/5972fd1fab3525c2bc52ca25964fbf6fe970d2066d0a9a8c2fac2193fbc9/fixfmt-0.5.6.tar.gz", 
    "platform": "", 
    "version": "0.5.6", 
    "cheesecake_documentation_id": null, 
    "description": "\nA C++ and Python library for formatting values (numbers, strings, etc.)\nin fixed-width fields. Useful for printing tabular data and similar.\n\nFor example, strings:\n\n.. code:: py\n\n    >>> fmt = fixfmt.String(10)\n    >>> fmt(\"testing\")\n    'testing   '\n    >>> fmt(\"Hello, world!\")\n    'Hello, wo\u2026'\n\nand numbers:\n\n.. code:: py\n\n    >>> fmt = fixfmt.Number(3, 3)\n    >>> fmt(math.pi)\n    '   3.142'\n\nIncludes C++ and Python libraries.  Requires a C++14 compiler and GNU Make to\nbuild.\n", 
    "lcname": "fixfmt", 
    "bugtrack_url": null, 
    "github": true, 
    "coveralls": false, 
    "name": "fixfmt", 
    "license": "Apache 2.0", 
    "travis_ci": false, 
    "github_project": "fixfmt", 
    "summary": "fixed-width formatters for C++ and Python", 
    "split_keywords": [
        "formatting"
    ], 
    "author_email": "alexhsamuel@gmail.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2017-08-12T21:47:42", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/df/d3/5972fd1fab3525c2bc52ca25964fbf6fe970d2066d0a9a8c2fac2193fbc9/fixfmt-0.5.6.tar.gz", 
            "md5_digest": "7bedf683c6942e0e5f0e66defcef509d", 
            "downloads": 0, 
            "filename": "fixfmt-0.5.6.tar.gz", 
            "packagetype": "sdist", 
            "path": "df/d3/5972fd1fab3525c2bc52ca25964fbf6fe970d2066d0a9a8c2fac2193fbc9/fixfmt-0.5.6.tar.gz", 
            "size": 110230
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}