semvec/pypi-packages huggingface dataset:
TextHTMLPress 1.0.1
A command-line static site generator.
Requires Python: >=3.6

# TextHTMLPress
A command-line static site generator to generate a complete 
HTML website from raw data and files (txt files or MarkDown files).

## Features

- [x] Name: TextHTMLPress
- [x] [Github Repo](https://github.com/Qiwen-Yu/TextHTMLPress)
- [x] [MIT License](https://github.com/Qiwen-Yu/TextHTMLPress/blob/main/LICENSE)
- [x] README.md
- [x] requirements.txt
- [x] title of .html file
- [x] customized output destination
- [x] CSS stylesheet
- [x] customized option from config file 

## Dependencies
This tool is written by `Python 3.9`, with `pip 21.1.2`.

Check the `requirements.txt`.


## How To Use
1. Download the code ([the TextHTMLPress folder](https://github.com/Qiwen-Yu/TextHTMLPress))
2. Using a command line tool (CLI) such as `Windows cmd`, `git bash`, 
   `Unix shell` or `MaxOS Terminal`.
3. In the CLI:

```shell
# install requirements
pip install -r requirements.txt
# redirect into the package folder
cd ~/yourpath/TextHTMLPress

# check help
# it might be python3 __main__.py --help on your machine
# python3 instead of python

python __main__.py --help
# generate .html from a .txt file
python __main__.py -i ./tests/inputs/Silver\ Blaze.txt
# generate .html files from a folder 
python __main__.py -i ./tests/inputs/
# use multiple options
python __main__.py -i ./tests/inputs/Silver\ Blaze.txt -s https://cdn.jsdelivr.net/npm/water.css@2/out/water.css
# use config file
# or python __main__.py -c config.yml
# 
python __main__.py --config config.yml
# specify the lang attribute in root element of HTML, default en-CA
python __main__.py -i ./tests/inputs/ -l fr

```
## Example Output

Please find [here](https://github.com/Qiwen-Yu/TextHTMLPress/tree/main/Example_Output).

## License
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
sec-learning 2021.11.27.0
SecLearning
Requires Python: >=3.6

# SecLearning

> 安全知识库
> 
> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 有志者，立长志；无志者，常立志。

* [在线阅读](https://seclearn.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/sec-learning](https://github.com/apachecn/sec-learning) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](http://www.apachecn.org/organization/348.html) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/sec-learning
docker run -tid -p <port>:80 apachecn0/sec-learning
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install sec-learning
sec-learning <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g sec-learning
sec-learning <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)