semvec/pypi-packages huggingface dataset:
grgr 0.1.0
`grgr` is a wrapper library for using `ggplot2` from `python`.
License: MIT
Requires Python: >=3.7.1,<3.11

# grgr
`grgr` is a library for using `ggplot2` from `python`.  

`grgr` can create figures in `python` using grammar similar to `ggplot2`. `python` does not create the figure itself, but generates a code that can be executed in `R`, and executes it in R to create the figure. In other words, `grgr` is an interface from `python` to `R`'s `ggplot2`. Therefore, this library directly depends on `R` and `ggplot2`.

# Quickstart
You can install `grgr` through `pip` by running `pip install grgr`. In order to use `grgr`, you need to have `R` and `ggplot2` installed. Please make sure that these are installed beforehand. Once the installation is complete, you can draw a figure in `python` with the grammer same as `ggplot2`. A basic usage example can be found in `example/basic.py`.
scrapy-agentfive-middleware 0.0.2
Scrapy downloader middleware to interact with agentfive API
License: MIT
Requires Python: >=3.5

This package provides a Scrapy
[Downloader Middleware](https://docs.scrapy.org/en/latest/topics/downloader-middleware.html)
to interact with the
[agentfive API](https://www.agentfive.cn/documents).

## Requirements

* Python 3.5+
* Scrapy 1.6+

## Installation

`pip install scrapy-agentfive-middleware`

## Configuration

Enable the `AgentfiveMiddleware` via the
[`DOWNLOADER_MIDDLEWARES`](https://docs.scrapy.org/en/latest/topics/settings.html#downloader-middlewares)
setting:

```
DOWNLOADER_MIDDLEWARES = {
    "agentfive_middleware.AgentfiveMiddleware": 585,
}
```

Please note that the middleware needs to be placed before the built-in `HttpCompressionMiddleware`
middleware (which has a priority of 590), otherwise incoming responses will be compressed and the
agentfive middleware won't be able to handle them.

### Settings

* `AGENTFIVE_KEY` (type `str`)

    API key to be used to authenticate against the agentfive API.

* `AGENTFIVE_API_URL` (Type `str`, default `"https://api.agentfive.cn/v1"`)

    The endpoint of a agentfive API.

* `AGENTFIVE_DEFAULT_ARGS` (type `dict`, default `{}`)

    Default values to be sent to the agentfive API. For instance, set to `{"profile": "mobile"}`
    to set all requests with a mobile profile.

## Usage

If the middleware is enabled, by default all requests will be redirected to the specified
agentfive API endpoint, and append necessary params which agentfive API expected. 

For example:

```python
scrapy.Request(url="https://httpbin.org/anything")
```

will be set to agentfive API and let agentfive to fetch the url.

### Additional arguments

Additional arguments could be specified under the `agentfive` `Request.meta` key. For instance:

```python
Request(
    url="https://example.org",
    meta={"crawlera_fetch": {"render": True, "wait_ms": 5000}},
)
```

for more information on agentfive API parameter, please refer to [agentfive document](https://www.agentfive.cn/documents).

### Skipping requests

You can instruct the middleware to skip a specific request by setting the `agentfive.skip`
[Request.meta](https://docs.scrapy.org/en/latest/topics/request-response.html#scrapy.http.Request.meta)
key:

```python
Request(
    url="https://example.org",
    meta={"agentfive": {"skip": True}},
)
```
mathprolib 0.1.7
数学运算专用库，使用简单，内含三角学、分数、科学计算法等实用功能。
License: MIT
Requires Python: >=3.6.0

# flask_appmanager
[![star](https://gitee.com/toby_lai/flask_appmanager/badge/star.svg?theme=dark)](https://gitee.com/toby_lai/flask_appmanager/stargazers)[![fork](https://gitee.com/toby_lai/flask_appmanager/badge/fork.svg?theme=dark)](https://gitee.com/toby_lai/flask_appmanager/members)
#### 介绍
使用flask做的后台插件，暂时功能很少，欢迎issue或pull request

#### 功能
【先按照示例代码配置先】


> 运行后进入
> localhost:5000/manager
输入账号密码admin 12345（还没完全做好登陆系统QWQ，可以[pull request](https://gitee.com/toby_lai/flask_appmanager/pulls)来帮帮忙）
然后进入后台（界面如下）
![后台界面](https://images.gitee.com/uploads/images/2020/0722/224844_c029d383_6580637.png "批注 2020-07-22 151843.png")
目前的功能：
1. 查看路由和函数连接关系（概览页面）
2. 上传文件到静态资源目录
更多文档：[https://gitee.com/toby_lai/flask_appmanager/wikis](https://gitee.com/toby_lai/flask_appmanager/wikis)

 _可以[pull request](https://gitee.com/toby_lai/flask_appmanager/pulls)来提交新功能哦~_ 
#### 安装教程

```git
cd 你的python site-package路径
git clone https://gitee.com/toby_lai/flask_appmanager.git
```

#### 示例代码
简单几行，即可启动
```python
from flask import *
from flask_appmanager import *
app=Flask(__file__,static_folder='static')
#自己先创建静态目录，并把static_folder参数设置为静态目录名称

app.config['SECRET_KEY'] = '给session设置key，自己修改' #这个key随便设置也行，但不要给别人看
manage_app(app,'static')#给app添加上后台，第二个参数是静态目录名称   **_> ！最核心语句！_** 
app.run()#运行
```
[提交issue](https://gitee.com/toby_lai/flask_appmanager/issues) | 
[新建pull request](https://gitee.com/toby_lai/flask_appmanager/pulls)
keep-repl-alive 1.4
A simple python module for keeping repls awake
License: MIT
Keywords: replit,keep alive,flask,threading

============
Keep Alive
============

Keep-alive is a simple python module for keeping repls awake

============
How to use
============

1. Install the module through pip

`pip install keep_repl_alive`

2. Import the `keep_repl_alive` function from the module

`from keep_repl_alive import keep_alive`

3. Add the function into your code
4. And done