xslide
Tool for creating presentations.
Accepts content specified in:
markdown
grot - graphviz syntax overlay for generating graphs
plain python strings
xplant syntax (can build arbitrary html code)
Outputs:
static html
Basic usage:
import xslide
slide = xslide.XSlide("Title of example from README")
slide.markdown("""
# xslide
- Can accept a `markdown`
- Can draw graphs in `grot` (`graphviz` overlay)
- Can use HTML in `xplant`
Author: [Michal Kaczmarczyk](mailto:michal.s.kaczmarczyk@gmail.com),
""")
slide.next("Header of the next slide")
slide.markdown("This one contains a graph:")
with slide.make_graph("this_dot_name", html_style="max-width: 55%;") as g:
stage_1 = g.node("Stage 1", shape="box3d")
stage_2 = g.node("Stage\n2", shape="circle", penwidth="3.1")
g.edge(stage_1, stage_2, penwidth="2.6")
sink = g.node("This\nsinks\nall")
for n in ["alfa", "beta", "gamma", "delta"]:
if n == "gamma":
g.edge(stage_2, n, sink, penwidth="2.6", color="#314289")
else:
g.edge(stage_2, n, sink, color="#aabbcc", style="dashed")
slide.flush() # makes a break
slide.markdown("""
*Markdown* with `nice_code` formatting. This example generates such a files:
\`\`\`
>$ tree XSLIDE/examples/output/readme_example
XSLIDE/examples/output/readme_example
|-- index.html
|-- readme_example_01.html
|-- readme_example_01.html_this_dot_name.dot
|-- readme_example_01.html_this_dot_name.dot.svg
|-- readme_example_02.html
|-- serve.py
`-- xslide.css
\`\`\`
""")
# don't forget to:
slide.store()
Metadata
Release files for xslide 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xslide-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for xslide-0.1.2-py2.py3-none-any.whl |
Release files / xslide-0.1.2-py2.py3-none-any.whl
| Download URL | xslide-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9ee3d559f7eaa2b43273acd4f6c1d3036c03c2e5170577b962e99aaf260b1821
|
|
BLAKE2b-256 checksum How to use checksums |
56d7833bb95f1a88c8430f909a2b1c81ef502cf6a7b83601385ace7cc3fb85fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/2.7.13
|
Security for xslide 0.1.2
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.