semvec/pypi-packages huggingface dataset:
wt 2.1.1
Static blog generator
License: MIT
Keywords: blog static site generator

# wt - static blog generator

![Logo](misc/logo96.png)

[![Current Version](https://img.shields.io/pypi/v/wt.svg?style=flat-square)](https://pypi.org/projects/wt/)
[![Build Status](https://img.shields.io/travis/ysegorov/wt/master.svg?style=flat-square)](https://travis-ci.org/ysegorov/wt)


## What

Yet another static blog generator with following features:

- [markdown][markdown] for content
- [yaml][yaml] for configuration
- [jinja2][jinja2] for templates
- [atom][atom] for feed
- two types of content - **page** and **post**
- [yaml][yaml]-formatted front matter for content metadata
- simple `HTTPServer` for development


## Why

It was curiosity - "how would I do it?" and good intentions - "let's create
something easy to work with".


## Documentation

`wt` documentation is available [online][wt-docs].


## How

### Requirements

The only hard dependency is **python3**.

### Installation

```shell
$ mkdir blog && cd blog
$ mkdir env && virtualenv -p python3 env && source ./env/bin/activate
$ pip install wt

```

### Bootstrapping

```shell
$ wt init .

```

### Configuration

Your blog must have configuration file written in [yaml][yaml] and named
**wt.yaml** (name can be changed).

### Usage

While writing content (ie in development mode):

```shell
$ wt develop

```

This command will start the development server listening at 127.0.0.1:9000.

When content is ready you will need to build it:

```shell
$ wt build

```


## Roadmap

- [x] ~~documentation~~
- [x] ~~posts list pagination~~
- [ ] support for tags


## License

MIT


[markdown]: http://daringfireball.net/projects/markdown/
[yaml]: http://yaml.org/
[front-matter]: https://jekyllrb.com/docs/front-matter/
[jinja2]: http://jinja.pocoo.org/
[atom]: https://en.wikipedia.org/wiki/Atom_(standard)
[wt-docs]: https://ysegorov.github.io/wt/
get-wayback-machine 0.1.2
Fetch a URL via the latest Wayback Machine Snapshot
License: MIT

# get-wayback-machine [![Build Status](https://travis-ci.com/jfilter/get-wayback-machine.svg?branch=master)](https://travis-ci.com/jfilter/get-wayback-machine) [![PyPI](https://img.shields.io/pypi/v/get-wayback-machine.svg)](https://pypi.org/project/get-wayback-machine/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/get-wayback-machine.svg)](https://pypi.org/project/get-wayback-machine/)

Fetch a URL via the latest Wayback Machine Snapshot.

## Why?

Occasionally, you have a given URL that it is not online anymore. You may still access it's content via the Internet Archive's [Wayback Machine](https://archive.org/web/).

## Install

```bash
pip install get_wayback_machine
```

## Usage

```python
import get_wayback_machine

response = get_wayback_machine.get('https://en.wikipedia.org')
if response:
    print(response.status_code)
```

The response is either `None` (for fails) or a [Requests](http://docs.python-requests.org/en/master/) response. This module uses [get-retries](https://github.com/jfilter/get-retries) internally to fetch the data.

## Related

-   https://github.com/hartator/wayback-machine-downloader
-   https://github.com/sangaline/wayback-machine-scraper
-   https://github.com/jsvine/waybackpack

## License

MIT.
bin2fasta 0.0.2
Store any file as a fasta file
License: MIT
Requires Python: >=3.7,<4.0

Disclaimer: this is only a proof-of-concept (and a joke), please don't actually use this.


# bin2fasta

Store any file as a fasta file!


## Installation

```bash
$ pip install bin2fasta
```


## Usage

```bash
$ bin2fasta --help
Usage: bin2fasta [OPTIONS] FILENAME

  Store any file as a fasta file

Options:
  -D, --decode           Enable conversion from FASTA to
                         binary.
  -o, --output FILENAME  File to write to.
  --help                 Show this message and exit.
```

Basic example:
```bash
$ file foo.png
foo.png: PNG image data, 618 x 257, 8-bit/color RGBA, non-interlaced
$ bin2fasta -o bar.fasta foo.png
319400it [00:00, 683649.99it/s]
$ head -c50 bar.fasta
>Sequence_master
AGTTGAGGCGCCTTACTGCCGAATTAGTTAAGA
$ bin2fasta --decode -o baz.png bar.fasta
159700it [00:00, 455825.67it/s]
$ file baz.png
baz.png: PNG image data, 618 x 257, 8-bit/color RGBA, non-interlaced
$ diff foo.png baz.png
$
```

Note that you can easily chain multiple commands by piping their respective outputs and using `-`:
```bash
$ cat foo.png | xz | gpg -c | bin2fasta - > bar.fasta
$ cat bar.fasta | bin2fasta -D - | gpg -d | xz --decompress > baz.png
$ diff foo.png baz.png
$
```


## Poetry workflow

Only relevant for [developers](https://poetry.eustace.io/docs/):

Run executable:
```bash
$ poetry run bin2fasta
```

Publish to PyPi:
```bash
$ poetry --build publish
```