Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A simple Python library for easily displaying tabular data in a visually appealing ASCII table format
PTable is a simple Python library designed to make it quick and easy to
represent tabular data in visually appealing ASCII tables, originally
forked from PrettyTable <https://code.google.com/p/prettytable/>
_.
.. image:: https://travis-ci.org/tducret/PTable.svg :target: https://travis-ci.org/tducret/PTable :alt: Build Status
.. image:: https://landscape.io/github/tducret/PTable/master/landscape.svg?style=flat :target: https://landscape.io/github/tducret/PTable/master :alt: Code Health
.. image:: https://coveralls.io/repos/github/tducret/PTable/badge.svg?branch=master :target: https://coveralls.io/github/tducret/PTable?branch=master :alt: Coverage
As PTable is a fork of PrettyTable, and compatible with all its APIs, so PTable is usage is the same as PrettyTable, and the installation would cover on the original PrettyTable.
As always, you can install PTable in 3 ways.
Via pip (recommend)::
pip install PTable
Via easy_install::
easy_install PTable
From source::
python setup.py install
PTable supports two kinds of usage:
PTable library API is almost as PrettyTable, you can import the same API from
prettytable
library:
.. code-block:: python
from prettytable import PrettyTable
x = PrettyTable()
A better hosted document is hosted on ReadTheDocument <http://ptable.readthedocs.org/>
_.
This is an original function of PTable, can be used as ptable
command:
.. code-block:: shell
ptable --csv somefile.csv
or a Unix style pipe:
.. code-block:: shell
cat somefile.csv | ptable
Will both print a ASCII table in terminal.
Source Code (GitHub) <https://github.com/kxxoling/PrettyTable>
__RTFD <https://ptable.readthedocs.org>
__PyPI <https://pypi.python.org/pypi/ptabl://pypi.python.org/pypi/ptable>
__PrettyTable <https://code.google.com/p/prettytable/>
_FAQs
A simple Python library for easily displaying tabular data in a visually appealing ASCII table format
We found that PTableUnicode 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.