{"id":41787769,"url":"https://github.com/atomgomba/txtable","last_synced_at":"2026-01-25T04:32:11.100Z","repository":{"id":62585873,"uuid":"45614953","full_name":"atomgomba/txtable","owner":"atomgomba","description":"Plain text tables for Python 3","archived":false,"fork":false,"pushed_at":"2018-07-19T11:57:11.000Z","size":11,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-08T11:16:03.819Z","etag":null,"topics":["formatter","json","python3","table"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomgomba.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T14:07:24.000Z","updated_at":"2025-03-15T05:59:38.000Z","dependencies_parsed_at":"2022-11-03T22:02:13.011Z","dependency_job_id":null,"html_url":"https://github.com/atomgomba/txtable","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/atomgomba/txtable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomgomba%2Ftxtable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomgomba%2Ftxtable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomgomba%2Ftxtable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomgomba%2Ftxtable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomgomba","download_url":"https://codeload.github.com/atomgomba/txtable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomgomba%2Ftxtable/sbom","scorecard":{"id":215150,"data":{"date":"2025-08-11","repo":{"name":"github.com/atomgomba/txtable","commit":"324569a09e64dde5e1e1039ad38fa342752b0e02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T01:30:37.420Z","repository_id":62585873,"created_at":"2025-08-17T01:30:37.420Z","updated_at":"2025-08-17T01:30:37.420Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28743498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["formatter","json","python3","table"],"created_at":"2026-01-25T04:32:11.002Z","updated_at":"2026-01-25T04:32:11.086Z","avatar_url":"https://github.com/atomgomba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"txtable - Plain text tables for Python 3\n========================================\n\nPretty-print tabular data as plain text. Supports Markdown and reStructuredText tables too.\n\nSample outputs\n==============\n\nDefault formatter\n-----------------\n\n::\n\n    Date        Mobile Operating System  Percent of Usage\n    ==========  =======================  ================\n    2008-12-01                  Android                 0\n    2008-12-01                      iOS             32.56\n    2008-12-01                SymbianOS             42.02\n    2008-12-01                Series 40                 0\n    2008-12-01            BlackBerry OS                 0\n    2008-12-01                  Samsung                 0\n    2008-12-01                  Unknown                16\n    2008-12-01            Windows Phone                 0\n\nHeadless formatter\n------------------\n\n::\n\n    Date        Mobile Operating System  Percent of Usage\n    2008-12-01                  Android                 0\n    2008-12-01                      iOS             32.56\n    2008-12-01                SymbianOS             42.02\n    2008-12-01                Series 40                 0\n    2008-12-01            BlackBerry OS                 0\n\nMD formatter\n------------\n\n::\n\n    Date       | Mobile Operating System | Percent of Usage\n    ---------- | ----------------------- | ----------------\n    2008-12-01 |                 Android |                0\n    2008-12-01 |                     iOS |            32.56\n    2008-12-01 |               SymbianOS |            42.02\n    2008-12-01 |               Series 40 |                0\n    2008-12-01 |           BlackBerry OS |                0\n\nRST formatter\n-------------\n\n::\n\n    +------------+-------------------------+------------------+\n    | Date       | Mobile Operating System | Percent of Usage |\n    +============+=========================+==================+\n    | 2008-12-01 |                 Android |                0 |\n    +------------+-------------------------+------------------+\n    | 2008-12-01 |                     iOS |            32.56 |\n    +------------+-------------------------+------------------+\n    | 2008-12-01 |               SymbianOS |            42.02 |\n    +------------+-------------------------+------------------+\n    | 2008-12-01 |               Series 40 |                0 |\n    +------------+-------------------------+------------------+\n    | 2008-12-01 |           BlackBerry OS |                0 |\n    +------------+-------------------------+------------------+\n\nInstallation\n============\n\nIt's the usual process as with any other Python package:\n\n.. code:: bash\n\n    python3 setup.py install\n\nOr install with pip:\n\n.. code:: bash\n\n    pip3 install txtable\n\nUsage as a module\n=================\n\nDefault usage:\n\n.. code:: python\n\n    # let's pretty-print a CSV file\n    import csv\n    from txtable import TextTable\n\n    with open(\"cities.csv\") as f:\n        data = list(csv.reader(f))\n\n    # the TextTable constructor takes a sequence type as the first argument\n    print(TextTable(data))\n\nUse a formatter (available formatters are DefaultFormatter, HeadlessFormatter, MdFormatter, RstFormatter):\n\n.. code:: python\n\n    print(TextTable(data, formatter=MdFormatter()))\n\nCommand-line usage\n==================\n\nThe command-line interface supports formatting input data in JSON and CSV format. Input can be a list of files or stdin.\n\n.. code:: bash\n\n    cat cities.csv | python3 -m txtable -t csv -f md\n\n.. code:: bash\n\n    curl http://ponydealer.com/api/available.json | python3 -m txtable -t json\n\nCommand-line help\n-----------------\n\n.. code:: bash\n\n    usage: txtable [-h] [-f FORMATTER] [-t TYPE] [files [files ...]]\n\n    positional arguments:\n      files                 Path to input files (json/csv) or read from stdin when\n                            empty (default: [])\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -f FORMATTER, --formatter FORMATTER\n                            Table format: default, headless, md (Markdown) or rst\n                            (ReStructuredText) (default: default)\n      -t TYPE, --type TYPE  Input data type to read from stdin: json/csv (default:\n                            json)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomgomba%2Ftxtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomgomba%2Ftxtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomgomba%2Ftxtable/lists"}