News and feature lists of Linux and BSD distributions. Wheel is a distribution file format for Python, which was introduced a few years ago with PEP427. In case you have no knowledge about wheel, you should read the PEP. Index of /macports/trunk/dports/python/. Py-mistune/ 16-Nov-2020 23:42 - py-mistune-devel/ 16-Nov-2020 23:42 - py-mitmproxy/ 16-Nov-2020 23:42 - py-mkl/. Sponsorship: many thanks to Outcome Life for providing the venue, Biarri for sponsoring pizzas and Python.js, mistune and some. A curated list of awesome Python frameworks, libraries and software.
s0md3v / Photon — Incredibly fast crawler which extracts urls, emails, files, website accounts and much more. |
donnemartin / system-design-primer — Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards. |
chubin / cheat.sh — the only cheat sheet you need |
mkaz / termgraph — a python command-line tool which draws basic graphs in the terminal |
tensorflow / models — Models and examples built with TensorFlow |
colental / byob — BYOB (Build Your Own Botnet) |
instacart / lore — Lore makes machine learning approachable for Software Engineers and maintainable for Machine Learning Researchers |
vinta / awesome-python — A curated list of awesome Python frameworks, libraries, software and resources |
wannabeOG / Mask-RCNN — A PyTorch implementation of the architecture of Mask RCNN, serves as an introduction to working with PyTorch |
toddmotto / public-apis — A collective list of public JSON APIs for use in web development. |
MarkPKCollier / NeuralTuringMachine — Tensorflow implementation of a Neural Turing Machine |
keras-team / keras — Deep Learning for humans |
rg3 / youtube-dl — Command-line program to download videos from YouTube.com and other video sites |
zulip / zulip — Zulip server - powerful open source team chat |
Nekmo / dirhunt — Find web directories without bruteforce |
ansible / ansible — Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications — automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com/ansible/ |
python / cpython — The Python programming language |
nbedos / termtosvg — Record terminal sessions as SVG animations |
pallets / flask — The Python micro framework for building web applications. |
pypa / pipenv — Python Development Workflow for Humans. |
XX-net / XX-Net — a web proxy tool |
salesforce / decaNLP — The Natural Language Decathlon: A Multitask Challenge for NLP |
tristandeleu / pytorch-maml-rl — Reinforcement Learning with Model-Agnostic Meta-Learning in Pytorch |
Released:
A static blog generator
Project description
Python Mistune Example
[](https://travis-ci.org/polybuildr/petroglyph)
Petroglyph is a Python-based static blog generator. (Tested on 2.7.6).
## Installation
Petroglyph is now a pip package! You can install petroglyph by simply doing:
```bash
$ sudo pip install petroglyph
```
If you don't have `pip`, first install pip using your package manager.
```bash
$ sudo apt-get install python-pip #Ubuntu, etc.
$ sudo yum install python-pip #Fedora, etc.
```
If installing from `pip` doesn't work for you, please [file an issue](https://github.com/polybuildr/petroglyph/issues) and then use the old installation instructions below instead.
### Old installation procedure
To install, first install `mistune`, `pyyaml` and `docutils`.
```bash
$ pip install mistune pyyaml docutils
```
If you don't have `pip`, first install pip using your package manager.
```bash
$ sudo apt-get install python-pip #Ubuntu, etc.
$ sudo yum install python-pip #Fedora, etc.
```
If `pip` fails to install `pyyaml` (check for the line `Successfully installed pyyaml` in the output), then you can use your package manager to install `pyyaml`.
```bash
$ sudo apt-get install python-yaml #Ubuntu, etc.
$ sudo yum install PyYAML #Fedora, etc.
```
Next, install petroglyph. Petroglyph is currently not available as a pip package, so you'll have to install it manually.
You can download a [stable release from GitHub](https://github.com/polybuildr/petroglyph/releases) or clone from master.
There is a script named `petroglyph` in the folder, this is the script you will use to set up your blog. Consider putting this in your `PATH` for ease of use.
On Linux, if using `bash`, you can add a line to your `.bashrc` to do this.
```bash
$ echo 'export PATH='/path/to/petroglyph:$PATH' >> ~/.bashrc
$ source ~/.bashrc
```
Depending on your setup, this could be a different file, such as `~/.profile` or `~/.bash_profile`.
## Setting up a blog
1. Create a new directory for your blog.
```bash
$ mkdir awesomeblog
```
2. Inside this new directory, run `petroglyph init` and fill in the details.
The default theme is `monoblue`. There used to be other skins, but they're no longer there. Hopefully, I'll add them in the future. Until then, you can always edit the CSS yourself amd make a custom skin!
```bash
$ cd awesomeblog
$ petroglyph init
Copying skin 'monoblue'..
Creating posts directory..
Configuring settings..
Blog title: Awesome Blog
Blog author: John Doe
Blog description: The awesome blog!
Saved configuration in config.yaml.
Petroglyph initialized.
```
At any point if you want to replace your skin or change the configuration, run `petroglyph init` again.
3. Write a new post in the `/posts` directory with a `.md` extension. (reStructuredText is also supported, give the file an `.rst` extension.) Each post's filename will be used as the post's slug when the blog is generated. Markdown support is provided using [Mistune](https://github.com/lepture/mistune). Include post metadata by writing posts as follows:
```
---
title: The Post's Title
tags: some-tag, another-tag
---
Hello, world! **Bold**, _italics_ and `code`.
This part will be before the 'Read more'.
<!--more-->This part will come after the read more.
```
> A post title is **required**.
> Petroglyph uses the last modified time of a file when deciding the post publish date. If you'd like to use a custom date, add it to the metadata in the `YYYY-MM-DD` format.
```
date: 2015-06-07
```
4. Dry run petroglyph to see if everything works fine.
```bash
$ petroglyph --dry-run
Found 1 post.
1 new post.
```
5. Run petroglyph!
```bash
$ petroglyph
Found 1 post.
1 new post.
Generated 1 new post.
Done.
```
> If you ever want to regenerate all your pages (because of a theme change, for example), run `petroglyph --regenerate`.
6. Your blog is ready to be served in the `blog/` directory.

Release historyRelease notifications | RSS feed
0.5.0
Mistune Python Docs
0.4.1
0.4.0 Stylus for mac.

0.3.0
0.2.0.post3
0.2.0.post2
0.2.0.post1
0.2.0
Download the VPN installer from MIT's download page, Cisco AnyConnect VPN Client for Windows. Cisco anyconnect vpn client. Cisco AnyConnect Secure Mobility Client Secure VPN access for remote workers For organizations of all sizes that need to protect sensitive data at scale, Duo is the user-friendly zero-trust security platform for all users, all devices and all applications.
Python 3 Mistune
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size petroglyph-0.5.0.tar.gz (16.0 kB) | File type Source | Python version None | Upload date | Hashes |

Hashes for petroglyph-0.5.0.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | a0b2dea7cfdd75e383e68b085b0614d2bb3fee020e17257888e34aad063775a2 |
MD5 | d7b8a66b0eb3c85840d6648b6e139bd1 |
BLAKE2-256 | f976698d57089b6ea42305a203927587fd5edfdb784ef94015e91d4653f74b60 |
