[](http://travis-ci.org/michaeljoseph/snide)
[](https://waffle.io/michaeljoseph/snide) [](http://badge.fury.io/py/snide)
[](https://crate.io/packages/snide?version=latest)
[](https://coveralls.io/r/michaeljoseph/snide?branch=master)
## Overview
Snide: a remark.js parser in python
* A parser that recognises a slightly modified Markdown slide format parser (todo: ref remarkjs)
* `---` is a slide boundary
* arbitrary `key: value` slide configuration
* `???` for speaker notes
## Usage
Install `snide`:
pip install snide
Use snide in your code to parse a slide markup document:
```python
from snide.models import Deck
deck = Deck(
'Application To Platform',
open('application-to-platform.md').read()
)
print(deck.json)
print(deck.title)
for slide in deck.slides:
print(slide.html)
```
### CLI
TODO: Minimal cli to parse and display deck statistics and meta information
snide my_slides.md
## Documentation
[API Documentation](http://snide.rtfd.org)
## Testing
Install development requirements:
pip install -r requirements.txt
Tests can then be run with:
nosetests
Lint the project with:
flake8 changes tests
## API documentation
Generate the documentation with:
cd docs && PYTHONPATH=.. make singlehtml
To monitor changes to Python files and execute flake8 and nosetests
automatically, execute the following from the root project directory:
stir
Metadata
Release files for snide 0.2.2
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 |
|---|---|---|---|---|
| snide-0.2.2.tar.gz | 7.4 kB | Without provenance | Details for snide-0.2.2.tar.gz |
Release files / snide-0.2.2.tar.gz
| Download URL | snide-0.2.2.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1f263cadcd7520ca33962c15e80a0a5cfa247998eb9d6c9ce04568269ad502d
|
|
BLAKE2b-256 checksum How to use checksums |
fa1f6c9f244617c2823e35d70effa96821ed47e9af9542f9a70e6c751bd423c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for snide 0.2.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.