Saravanan666/pypi-org huggingface dataset:
Package: rst2pdf
rst2pdf: Use a text editor. Make a PDF.The usual way of creating PDF from reStructuredText is by going through LaTeX.
This tool provides an alternative by producing PDF directly using the ReportLab
library.More information is available at themain website.FeaturesUser-defined page layout. Multiple frames per page, multiple layouts per
document.Page transitionsCascading stylesheet mechanism, define only what you want changed.Supports TTF and Type1 font embedding.Any number of paragraph styles using the class directive.Any number of character styles using text roles.Custom page sizes and margins.Syntax highlighter for many languages, using Pygments.Supports embedding almost any kind of raster or vector images.Supports hyphenation.SphinxintegrationFull user’s manualInstallationrst2pdfsupports Python 3.8 or greater. Version 0.99 was the last version to support Python 3.6 & 3.7, with 0.97 the last version to support Python 2.7.Install from PyPIThe latest released version may be installed from PyPI by usingpipx:$ pipx install rst2pdfrst2pdf also has support for a number of features that require additional dependencies. Installation of all the
required dependencies usingpipxmay be installed using:$ pipx install rst2pdf[aafiguresupport,mathsupport,plantumlsupport,rawhtmlsupport,sphinx,svgsupport]Install from SnapIf you are using a system that supportssnapsthen you can install from there with:$ snap install rst2pdfInstall from GitHubWork on rst2pdf has restarted on GitHub, with the goals of adding new
features, addressing outstanding issues, and not breaking anything. You
can clone the repository and install this version:$ git clone https://github.com/rst2pdf/rst2pdf
$ cd rst2pdf
$ git checkout <desired-branch> # if you want something other than main
$ pipx install .[aafiguresupport,mathsupport,plantumlsupport,rawhtmlsupport,sphinx,svgsupport]If you intend to work on rst2pdf’s source code, seedoc/DEVELOPERS.rst.UsageTo convert a reStructuredText document to a PDF, simply run:$ rst2pdf <document name> output.pdfFor information on available options, use-h:$ rst2pdf -hTo enable basic integration with Sphinx, modify yourconf.pyfile to enable
therst2pdf.pdfbuilderextension and configure thepdf_documentsoption. For example:extensions = [
    # ...
    'rst2pdf.pdfbuilder',
]

# Grouping the document tree into PDF files. List of tuples
# (source start file, target name, title, author, options).
pdf_documents = [
    ('index', 'MyProject', 'My Project', 'Author Name'),
]For information on thepdf_documentsoption and the many other options
available, refer to themanual.ContributingSeeCONTRIBUTING.Code of conductrst2pdf is an inclusive and welcoming community. To participate in this project, everyone is bound by ourCommunity Code of Conduct.
Package: rst2pptx
Converts reStructuredText to PowerPoint.InstallationFrom pip:$ pip install --upgrade rst2pptxExample$ rst2pptx input.rst output.pptxInput:Example slide=============-Some bulleted text-More textOutput:WarningThis tool is in a very early experimental phase. Also, if you don’t
specifically need to output PowerPoint,rst2beamer, which generates PDF
presentations, is a better choice.
Package: rst2pyi
rst2pyiConvert reStructuredText annotations to .pyi type stubsLicenserst2pyi is copyrightJohn Reese, and licensed under
the MIT license.  I am providing code in this repository to you under an open
source license.  This is my personal repository; the license you receive to
my code is from me and not from my employer. See theLICENSEfile for details.
Package: rst2rst
This project provides adocutils[1]writer that producesreStructuredText[2].
It allows users to transform RST documents, as an example, to standardize or
beautify RST syntax.Arst2rstcommand is also provided.The project was initiated as an utility for astyle guide for Sphinx-based
documentations[3]. See also theoriginal ticket[4].Ressourcescode repository[5]bugtracker[6]References[1]http://docutils.sourceforge.net/[2]http://docutils.sourceforge.net/rst.html[3]http://documentation-style-guide-sphinx.readthedocs.org[4]https://github.com/benoitbryon/documentation-style-guide-sphinx/issues/8[5]https://github.com/benoitbryon/rst2rst[6]https://github.com/benoitbryon/rst2rst/issues
Package: rst2sh5
Contents1Hacking1.1Development environment1.2Run test suite1.3Build and package1HackingThis project makes extensive use oftox,pytest, andGNU Make.1.1Development environmentUse following command to create a Python virtual environment with all
necessary dependencies:tox --recreate -e developThis creates a Python virtual environment in the.tox/developdirectory. It
can be activated with the following command:. .tox/develop/bin/activate1.2Run test suiteIn a Python virtual environment run the following command:make reviewOutside of a Python virtual environment run the following command:tox --recreate1.3Build and packageIn a Python virtual environment run the following command:make packageOutside of a Python virtual environment run the following command:tox --recreate -e package
Package: rst2slides
rst2slidesgenerates an HTML5 slideshow document from standalonereStructuredTextsource.Usage$ rst2slides slides.rst slides.htmlCreditsIt uses Rob Flaherty’s LightweightHTML5 Slideshowas template,
and the most of Bruno Renie’sHTML5Translator.LicenseGPL v3. See LICENSE.txt.Code and issue trackerIt’s hosted on Bitbucket:https://bitbucket.org/tin_nqn/rst2slidesFeel free to fork it, report issues and solve them ;-) .
Package: rst2texinfo
rst2texinfo***********Convert reStructuredText to Texinfo===================================rst2texinfo is an extension of the Docutils text processing systemwhich adds support for generating Texinfo.The Texinfo format is used to create Info documents that can beconveniently read from the terminal or within Emacs.Sphinx Extension================This package also includes a Sphinx extension that can be used togenerate Info files for Sphinx-based projects, including the officialPython documentation.Set up======Required packages:* Python  (tested using v2.6) -- http://www.python.org/* Docutils (tested using v0.6) -- http://docutils.sourceforge.net/* Sphinx (for the Sphinx extension, tested using v0.6.4) --http://sphinx.pocoo.org/To create Info files, you will need the "makeinfo" program which ispart of the Texinfo project located athttp://www.gnu.org/software/texinfo/.About=====Written by Jon Waltman, <jonathan.waltman@gmail.com>.Hosted at <http://bitbucket.org/jonwaltman/rst2texinfo>.Bug reports, patches, or suggestions are welcome.Copyright=========rst2texinfo should have the same license as the Docutils project (GPLcompatible).Copyright © 2010  Jon Waltman. All rights reserved.
Package: rst2txt
reStructuredText is pretty-damn consumable in its raw form, but extensive use
of directives and roles can hamper things or leave the document incomplete in
its raw form (cough,.. include, cough).rst2txtallows you to work around this by evaluating the reStructuredText
source and stripping it of most of its formatting. The end result is a document
that’s more readable and has elements that don’t make sense in a plain text
document, such as images, stripped.rst2txtis based on thesphinx.writer.text.TextWriterwriter used by
Sphinx’sTextBuilderbut with the Sphinx-specific features stripped out.Installationrst2txtis available on PyPI. To install, run:$pipinstall--userrst2txtUsageMost users will want just therst2txtapplication:$rst2txtREADME.rstIt is also possible to call this programmatically though. This can be useful
for things like consuming README files:fromdocutils.coreimportpublish_fileimportrst2txtwithopen('README.rst','r')assource:publish_file(source=source,destination_path='README.txt',writer=rst2txt.Writer())
Package: rst2wiki
rst2wiki is command line utility for pushing your documentation
in reStructuredText format to Confluence wiki. Under the covers
it usesrst2confluencelibrary for transforming ReST files and pushes result usingConfluence REST API.InstallationIt is available through PyPI:pip install rst2wikior getting more popular recently:python -m pip install rst2wikiPersonally, I recommend to usepipsi:pipsi install rst2wikiIt works under Mac OS X and Linux on Python versions 2.7 and 2.6.Usagerst2wiki supports two use cases: (1) updating existing page in Confluence
and (2) creating new page.First time it will ask you for some configuration values:
Confluence url (don’t forgethttps://part), your login and password
and store it for further usage (password storage is optional).Assuming you want to create page first from your ReST source, invocation
could be as follows (note option--create):rst2wiki --create --ancestor 1147842 --title 'Project overview' documentation.rstMost options are, not surprisingly, optional.Ancestor option takes page id, under which you want to place new page
(it will be parent to new page, so to speak).
If not presented, page will be created in your personal space.
Page id of existing page you can find in URL of page, after you click on ‘Edit’
(in some cases Confluence shows page id without any tricks
– if it was set up to do so or page has some unicode symbols in title).Title option sets header of new page in Confluence. If not specified
in command line, tool takes first heading of document as option value.Update of page is executed as follows (page id in this case is mandatory):rst2wiki --page 10814244 --ancestor 1147842 documentation.rstSadly, Confluence REST API for current version (5.8.6) does not return
ancestors in page resource representation, so we need to provide it every time on
page update or our updated page will move to space’s root.There are some more options:--warning(adds warning to top of your page
that this page is autogenerated and manual revisions will be overwritten),--titleto update page title in confluence (use exiting, if not specified)
and--configfor configuration file location.More interesting, it is possible to embed all arguments (exceptconfigandcreate)
in ReST document by adding comment in the following form:.. rst2wiki

  :page: 10814244
  :ancestor: 1147842
  :title: Project overview
  :warning: enAfter that you can use tool as follows:rst2wiki documentation.rstOf course, you still can override document metadata in command line:rst2wiki --warning off documentation.rst
Package: rst2xaml
A XAML writer fromreStructured Textsource.The goal is to be able to write outFlowDocument XAMLfrom ReST documents for use in WPF and Silverlight /Moonlightprojects.It includes aPygmentsformatter for outputting a
syntax highlighted XAML representation of source code.rst2xaml itself runs under CPython, but the generated XAML is intended for use
from IronPython (or any other .NET language). There is an example IronPython
script for displaying the generated XAML using a WPFFlowDocumentReader.Requirementsrst2xaml depends on:docutilsPygmentsTested with Python 2.5 and 2.6, but probably works fine under Python 2.4.The Silverlight output is intended to work with Moonlight (the equivalent of
Silverlight 2)andSilverlight 3. Let me know if
there are any problems.Current statusThe docutils writer for both FlowDocument and Silverlight XAML can currently
handle the following
markup features:title and headingsparagraphsbolditalicsliteral blocksinline literalsline blocksbullet listsenumerated listsblockquotesthe raw:: xaml directivethe pygments code-block directiveIn addition the FlowDocument output can handle superscript, although that only
works for fonts that support it.Nested enumerated lists don’t yet work correctly for either FlowDocument or
Silverlight output.ScriptsThere are three scripts that come with rst2xaml:python rst2xaml.py source.txt output.xaml
python rst2xamlsl.py silverlight-source.txt silverlight-output.xaml
ipy.exe display_xaml.py output.xamlIfdisplay_xaml.pyis run without a command line argument it will open a
file dialog for you to choose a xaml file to display.TestsThe tests use thediscover module,
which is included in the repository for convenience. You run the tests with:python discover.pyDevelopmentThe development version of rst2xaml is hosted on a google project page:http://code.google.com/p/rst2xaml/CHANGELOG2009/08/29 Version 0.1.1Bottom margin on list items increased.Addition of xclass option for the Silverlight XAML, for use fromTry Python.2009/08/20 Version 0.1.0Initial release.
Package: rs-tabler
Rs-TablerThis lib is used to format plain-text table, written in both Rust and Python.ExampleCode:fromtablerimporttabler,utilstable=utils.auto_table_create(header=["Header Left",utils.auto_cell("Header Right").with_align(tabler.settings.Align.Right)],content=[["Row",utils.auto_cell("Content").with_align(tabler.settings.Align.Right)]for_inrange(2)],splitter=True)table.border=tabler.settings.Border.Allres=table.render(tabler.settings.Renderer.Normal)print(res)Output:─────────────────────────────
| Header Left  Header Right |
|───────────────────────────|
| Row               Content |
| Row               Content |
─────────────────────────────Actually the border & header of the table is bold, but it cannot be rendered in markdown.Future PlanWaiting for report :)Change LogV0.1.0Initial version.OriginThis project is an encapsulation based on my rust cratetable_formatter, with almost the same apis.If you have any problems or this project has any bugs, you can make an issue on boththis repoas well as theoriginal repo.LicenseMITorApache-2.0
Package: rstatmon
Raspberry pi Status Monitor (StatMon) is simple web application that allow you to monitor statistic data such as CPU temperature and Usage of Raspberry pi on the graph.You can also add a graph to monitor the data obtained from the external sensor connected to the raspi.See [here](https://git-ogawa.github.io/raspi-statmon/) for installation, usage and more details.![](docs/img/demo.gif)
Package: rstats-logreader
rstats-logreaderRead bandwidth logfiles in the RStats format (usually created by routers running some offshoot of the Tomato firmware) and perform simple analysis/aggregation.Supports printing bandwidth data to the console, as well as conversion to CSV or JSON formats for further ingestion downstream.Supports arbitrary week/month beginnings and conversion to arbitrary units.UsageSimple UsagePrinting to screen:$ rstats-reader --print dwm /path/to/logfile.gzSaving to another format:$ rstats-reader --write dwm -f json -o out.json /path/to/logfile.gzAll Options$ rstats-reader -h

usage: rstats-reader [--print {dwm}] [-w {Mon - Sun}] [-m {1 - 31}]
		     [--write {dwm}] [-o outfile.dat] [-f {csv,json}]
		     [-u {B - TiB}] [-h] [--version]
		     logpath

positional arguments:
	logpath				gzipped rstats logfile

optional arguments:
	--print {dwm}			Print daily, weekly or monthly statistics to the console
	-w, --week-start {Mon - Sun}	Day of the week statistics should reset
	-m, --month-start {1 - 31}	Day of the month statistics should reset
	-u, --units {B - TiB}		Units statistics will be displayed in
	-h, --help			show this help message and exit
	--version			show program's version number and exit

write:
	--write {dwm}			Write daily, weekly or monthly statistics to a file
	-o, --outfile outfile.dat	File to write statistics to
	-f, --format {csv,json}		Format to write statistics in
Package: rstb
Breath of the Wild RSTB parser and editing toolUtilities to manipulate theRSTB (Resource Size TaBle).It is recommended to be familiar with how the resource system works and
in particular how resources are listed
(Wii U RSTB,Switch RSTB)
in the table before modifying resource entries.For all commands,you must pass--beif you are dealing with a big endian RSTB(Wii U version).Get a resource sizerstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  get  RESOURCE_NAMESet a resource sizerstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  set  RESOURCE_NAME  NEW_SIZENEW_SIZE can be an integer (hex or decimal), in which case the size will be set directly.Or it can be a path on yourhost filesystem(unlike RESOURCE_NAME). In that case rstb
will automatically calculate the size value it should write to the RSTB.The RESOURCE_NAME must exist in the RSTB for this command.Add a resource sizerstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  add  RESOURCE_NAME  NEW_SIZESame asset, except the RESOURCE_NAME mustnotexist in the RSTB for this command.Delete a resource sizerstbtool  [--be]  path/to/ResourceSizeTable.product.srsizetable  del  RESOURCE_NAMEWarning: deleting the entry for a resource will make the game waste precious memory
when loading it, since the resource system will fall back to a different, wasteful method
of calculating how much memory to allocate (see the resource system notes for more details).Deleting entries may cause instability. Only use this command if rstbtool tells you to
do so or if you know what you are doing.LicenseThis software is licensed under the terms of the GNU General Public License, version 2 or later.
Package: rstcheck
GeneralCIPyPIGithubChecks syntax of reStructuredText and code blocks nested within it.See the full documentation atread-the-docsContentsInstallationSupported languages in code blocksExamplesInstallationFrom pip$pipinstallrstcheckTo use pyproject.toml for configuration:$ pip install rstcheck[toml]To add sphinx support:$ pip install rstcheck[sphinx]Supported languages in code blocksBashDoctestC (C99)C++ (C++11)JSONXMLPythonreStructuredTextExamplesWith bad Python syntax:====Test====..code::pythonprint($ rstcheck bad_python.rst
bad_python.rst:7: (ERROR/3) (python) unexpected EOF while parsingWith bad C++ syntax:====Test====..code::cppintmain(){returnx;}$ rstcheck bad_cpp.rst
bad_cpp.rst:9: (ERROR/3) (cpp) error: 'x' was not declared in this scopeWith bad syntax in the reStructuredText document itself:====Test===$ rstcheck bad_rst.rst
bad_rst.rst:1: (SEVERE/4) Title overline & underline mismatch.
Package: rstcheck-core
GeneralCIPyPIGithubLibrary for checking syntax of reStructuredText and code blocks nested within it.See the full documentation atread-the-docsContentsInstallationSupported languages in code blocksInstallationFrom pip$pipinstallrstcheck_coreTo use pyproject.toml for configuration:$ pip install rstcheck_core[toml]To add sphinx support:$ pip install rstcheck_core[sphinx]To add YAML checking support:$ pip install rstcheck_core[yaml]Supported languages in code blocksBashDoctestC (C99)C++ (C++11)JSONXMLPythonreStructuredTextYAML
Package: rstctl
ContentsDescriptionUsageHTML previewCheck linksGenerating Sphinx documentation0.4 (2010-03-06)0.1 (2008-11-31)Descriptionrstctlis a script to help you withreStructuredTextUsageHTML previewYou can preview a file:$ rstctl -w path/to/file.rstOr the long description of a package:$ ls setup.py
setup.py

$ rstctl -wThis will open the result in your favorite browser.Check linksYou can use the-loption to add unknown references to the end of a document.
Example:$ cat README.txt
Title
=====

`incomplete ref`_

$ ./bin/rstctl -l README.txt
<string>:4: (ERROR/3) Unknown target name: "incomplete ref".


.. _incomplete ref:


1 links append to README.txt
$ cat README.txt
Title
=====

`incomplete ref`_


.. _incomplete ref:Then you can add the correct links.Generating Sphinx documentationGo to the package root then use the--sphinxoption:$ rstctl --sphinx docs/conf.py
Using /Users/gawel/py/rstctl/rstctl/module.tmpl
Writing docs/modules/rstctl.txt
Skipping rstctl.pdf excluded by conf.py
Skipping rstctl.rst_directive excluded by conf.py
Using /Users/gawel/py/rstctl/rstctl/module.tmpl
Writing docs/modules/rstctl.serve.txt
Using /Users/gawel/py/rstctl/rstctl/module.tmpl
Writing docs/modules/rstctl.template.txt
Using /Users/gawel/py/rstctl/rstctl/module.tmpl
Writing docs/modules/rstctl.utils.txt
Writing indexAddmodules/indexin atoctreeIf you want to exclude some modules add this to yourconf.py:rstctl_exclude = ['rstctl.rst_directive', 'rstctl.pdf']You can also addrstctl.sphinxin conf.py’s extensions0.4 (2010-03-06)add--sphinxoption + sphinx extension0.1 (2008-11-31)initial release
Package: rstcv
hvn@familug.orgDevOps, Linux System Administrator, Python developerSkillsOS:Ubuntu, Debian, ArchLinux, BSDsConfiguration management:SaltStackProgramming language:Python, Bash, PHP, SQLSCM:gitContinuous Integration:JenkinsMonitoring:Shinken, NRPE, NSCA, Graphite, Graylog2, SentryNetworking:iptables, tcpdump, ngrep, iproute2Database:Postgresql, MySQL, sqlite3, mongoDB, ElasticSearchKey-Value Cache:Memcached, RedisBackup:tar, scp, rsync, s3cmdDaemon:NGINX, uwsgi, apache2, vsftpd, rsyncd, OpenLDAP, OpenVPN,
postfix, dovecot, spamassassin, roundcube, amavisd, clamAV, …Virtualization:KVM, LXC, Docker, VirtualBoxOther:Gitlab, Github, Redmine, OpenERP, …
Package: rstdiff
Overviewrstdifftakes two reStructuredText documents as input, does a
structural comaprison on them and produces an annotated result
highlighting the changes.rstdiff“understands” reStructuredText
and therefore is able to care for the subtleties of such a comparison
the result is usually much more useful than a plain source diff.The result is then written by a Docutils writer. Use the–writeroption to select a writer for the result.Installationrstdiffuses the standard Distutils package. Thus the
installation is done with something like:python setup.py installUsageSYNOPSISrstdiff.py[options]…old-reST[new-reST[diff-output]]DESCRIPTIONGenerates a structural diff from two reStructuredText input documents
and produces an annotated result.OPTIONS--writer=WRITER         Select writer to write output with (default "xml").
--old                   Following options apply to the old input document
                        (default: both input documents).
--new                   Following options apply to the new input document
                        (default: both input documents).
--both                  Following options apply to both input documents
                        (default).
--compare-sections-by-names
                        Compare sections by comparing their names (default);
                        useful when section titles are stable but sections
                        change
--compare-sections-normally
                        Compare sections normally; useful when section titles
                        changeSEE ALSODocutilshttp://docutils.sourceforge.net/reStructuredTexthttp://docutils.sourceforge.net/rst.htmlOriginal Sourcehttps://sourceforge.net/p/docutils/code/HEAD/tree/trunk/sandbox/rstdiff/AVAILABILITYrstdiffis available fromhttps://github.com/SamWilsn/rstdiff
Package: rstex
RsTeX provides additional functionality overrst2latex, which is a
ReStructuedText to latex translator. It is based on ideas found insphinxand provides a math role (:math:), reference role (:ref:), a math
directive and a pure LaTeX “environment” withuspackageinjection.a math role:math:e.g.:math:`\frac{\log23}{\pi}`a ref role:ref:e.g.:ref:`my_label`a cite role:cite:e.g.:cite:`lutz:2003a math directive.. math::e.g.:.. math::
  :label: my_label

  \pi \neq \sigmaa raw latex directive.. latex::e.g.:.. latex::
  :usepackage: url


  \emph{a link} \url{http://muralab.org/rstex}a bibliography directive.. bibliography::.e.g:.. bibliography:: references
  :style: acmthis requires a bibliography file calledreferences.bibwith a reference
forlutz:2003