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.
.. image:: https://img.shields.io/badge/License-MIT-yellow.svg :target: https://opensource.org/licenses/MIT :alt: License .. image:: https://img.shields.io/pypi/v/readmetester :target: https://pypi.org/project/readmetester/ :alt: PyPI .. image:: https://github.com/jshwi/readmetester/actions/workflows/ci.yml/badge.svg :target: https://github.com/jshwi/readmetester/actions/workflows/ci.yml :alt: CI .. image:: https://results.pre-commit.ci/badge/github/jshwi/readmetester/master.svg :target: https://results.pre-commit.ci/latest/github/jshwi/readmetester/master :alt: pre-commit.ci status .. image:: https://github.com/jshwi/readmetester/actions/workflows/codeql-analysis.yml/badge.svg :target: https://github.com/jshwi/readmetester/actions/workflows/codeql-analysis.yml :alt: CodeQL .. image:: https://codecov.io/gh/jshwi/readmetester/branch/master/graph/badge.svg :target: https://codecov.io/gh/jshwi/readmetester :alt: codecov.io .. image:: https://readthedocs.org/projects/readmetester/badge/?version=latest :target: https://readmetester.readthedocs.io/en/latest/?badge=latest :alt: readthedocs.org .. image:: https://img.shields.io/badge/python-3.8-blue.svg :target: https://www.python.org/downloads/release/python-380 :alt: python3.8 .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Black .. image:: https://img.shields.io/badge/linting-pylint-yellowgreen :target: https://github.com/PyCQA/pylint :alt: pylint
Installation
.. code-block:: console
$ pip install readmetester
..
Usage
readmetester [-h] [--version] [README.rst]
If a README.rst file is present in the current working directory it will be used if no arguments are provided
.. code-block:: console
$ readmetester README.rst
..
Documenting
Python code begins with ">>> "
Continuation lines begin with "... "
.. note::
The length of these strings is 4 including the whitespace at the end
..
Expected output can be quoted or unquoted
.. code-block:: RST
.. code-block:: python
>>> n = [
... "zero",
... "one",
... "two",
... ]
>>> for c, i in enumerate(n):
... print(c, i)
0 zero
1 one
2 two
Styles can be configured in a pyproject.toml file
.. code-block:: toml
[tool.readmetester]
style = "monokai"
FAQs
Parse, test, and assert RST code-blocks
We found that readmetester 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.