semvec/pypi-packages huggingface dataset:
mashiro 0.2.1
ねぇ、君は何色になりたい？（呐，你想变成什么颜色的？）
License: MIT
Requires Python: >=3.0.0

# Mashiro
呐，欢迎回到『さくら荘』

![Shiina Mashiro](https://ximg.us.kg/34F037E7C53EB31B616CA42CB3ED9437)

> 一成不变的日子，总觉得索然无味，但是，在夏天，捡了这只纯白色的猫，住进樱花庄后，我发现了，无聊的并不是时间，而是和平凡无奇的自己.

这是我的自用库——Mashiro。因为太~~菜~~懒了只好把几个常用的代码块做成函数打包发布.

## 用法

1. `webget(u, encoding='utf-8')`
获取URL页面内容，返回字符串，可通过encoding指定编码.
自带随机UA.

2. `get(url, outfile)`
下载URL内容到本地（bin）. 返回`bool`.
自带随机UA.

3. `btw(a,b,string)`
获取两个字符串之间的内容，返回`list`.

4. `mkdir(filepath)`
新建文件夹，如果文件夹存在自动跳过.

5. `readJSON(file_path, encoding='utf-8')`
读取JSON文件并加载为对象，可指定编码.

6. `debug(s,k)`
debug模式，用于显示变量内容（好像没什么用？）.

7. `Sakurasou()`
随机返回一句樱花庄语录.

## 写在最后
以上几个函数足以应付普通的爬虫任务. 
emmmmmmmm不知道要写什么巴拉巴拉巴拉
homf 1.1.1
Download artifacts from various sources. E.g., a ZipApp from GitHub Releases.
License: MIT
Requires Python: >=3.8

# homf [![Build Status][build-status-img]][build-status-link] [![PyPI][pypi-version-img]][pypi-version-link] [![Documentation Status][docs-img]][docs-link]

Homf is a tool for downloading artifacts from online services, like a ZipApp from GitHub Releases or a Wheel from PyPi.

Documentation: <https://homf.readthedocs.io/>

The recommended way to install Homf is via [pipx](https://pipx.pypa.io/).
If you have pipx installed, you can install Homf via `pipx install homf`.

The basic syntax is `homf SOURCE [OPTIONS] PACKAGE RELEASE`. `SOURCE` is one of `github` or `pypi`.
For GitHub, `PACKAGE` is the repository and `RELEASE` is the tag used by GitHub Releases.
For PyPi, `PACKAGE` is the package name on PyPi and `RELEASE` is the version number.

By default, Homf downloads all files for the release into `./downloads`.

See the [documentation](https://homf.readthedocs.io/) for details on `OPTIONS`.

```
$ homf github ppb/pursuedpybear
INFO     Selected release 'v3.2.0 - The Bear Awakens!' as latest
INFO     Downloaded 'downloads/examples.zip'
INFO     Downloaded 'downloads/ppb-3.2.0-py3-none-any.whl'
INFO     Downloaded 'downloads/ppb-3.2.0.tar.gz'
$ tree downloads/
downloads/
├── examples.zip
├── ppb-3.2.0-py3-none-any.whl
└── ppb-3.2.0.tar.gz

1 directory, 3 files
$ rm -r downloads/
$ homf pypi emanate
INFO     Selected release '8.0.2' as latest
INFO     Downloaded 'downloads/emanate-8.0.2-py3-none-any.whl'
INFO     Downloaded 'downloads/emanate-8.0.2.tar.gz'
$ tree downloads/
downloads/
├── emanate-8.0.2-py3-none-any.whl
└── emanate-8.0.2.tar.gz

1 directory, 2 files
$
```

Homf requires Python 3.8 or newer.

[build-status-img]: https://api.cirrus-ci.com/github/duckinator/homf.svg
[build-status-link]: https://cirrus-ci.com/github/duckinator/homf

[pypi-version-img]: https://img.shields.io/pypi/v/homf
[pypi-version-link]: https://pypi.org/project/homf

[docs-img]: https://readthedocs.org/projects/homf/badge/?version=latest
[docs-link]: https://homf.readthedocs.io/en/latest/?badge=latest


## Contributing

Bug reports and pull requests are welcome on GitHub at <https://github.com/duckinator/homf>.

The code for Homf is available under the [MIT License](http://opensource.org/licenses/MIT).