This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
About
The module pyscholar consists of functions to convert tables imported in pandas to latex or markdown format. It aso includes a function replace_include to replace the content of the file mentioned after !include.
Installation
pip install pyscholar
Usage
pyscholar is easy to use. Just import:
from pyscholar import pandoc
For table conversion
Instantiate the Table class using:
tab = pandoc.Table(df)
Convert table to markdown and save as:
tab.to_markdown('table.md')
Convert table to latex and save as:
tab.to_latex('table.tex')
Replacing content of a file
To replace content of a file mentioned after !include, use replace_include function in pandoc.
Example:
If the file infilename contains the following line:
!include table.md
Then, using replace_include will replace that line with contents of file table.md.
from pandoc import replace_include
replace_include(infilename, outfilename)
Metadata
Release files for pyscholar 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyscholar-0.1.tar.gz | 1.5 kB | Without provenance | Details for pyscholar-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyscholar-0.1-py3-none-any.whl | Python 3 | none | any | Details for pyscholar-0.1-py3-none-any.whl |
Total release size: 3.9 kB
Release files / pyscholar-0.1.tar.gz
| Download URL | pyscholar-0.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d402c16109598cb61fb005d00748e94b96bb59941beaff9e1dcd55f22c28db71
|
|
BLAKE2b-256 checksum How to use checksums |
045476d9ce80d7421d168f23a40158255425fd679174cb4ed174328fd8dacc36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / pyscholar-0.1-py3-none-any.whl
| Download URL | pyscholar-0.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9339ecdae4d22a05afcba7a2d028d583fac69fa59b1c14ee0e6ad3dffbc370da
|
|
BLAKE2b-256 checksum How to use checksums |
c3aa88cd64297fcf76d3e3a6ca56f267eb8338df88e41a083396e5dcbe4cff60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for pyscholar 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.