semvec/pypi-packages huggingface dataset:
adslproxy 3.0.3
ADSL Proxy Pool Tool
License: MIT
Requires Python: >=3.5.0


## 拨号主机设置

首先配置好代理，如使用 Squid，运行在 3128 端口，并设置好用户名和密码。

配置好代理之后，即可使用本工具定时拨号并发送至 Redis。

### 安装 ADSLProxy

```
pip3 install -U adslproxy
```

### 设置环境变量

```
# Redis 数据库地址和密码
export REDIS_HOST=
export REDIS_PASSWORD=
# 本机配置的代理端口
export PROXY_PORT=
# 本机配置的代理用户名，无认证则留空
export PROXY_USERNAME=
# 本机配置的代理密码，无认证则留空
export PROXY_PASSWORD=
```

### 执行

```
adslproxy send
```

运行结果：


```
pip3 install -U adslproxy
```

### 设置环境变量

```
# Redis 数据库地址和密码
export REDIS_HOST=
export REDIS_PASSWORD=
# 本机配置的代理端口
export PROXY_PORT=
# 本机配置的代理用户名，无认证则留空
export PROXY_USERNAME=
# 本机配置的代理密码，无认证则留空
export PROXY_PASSWORD=
```

### 执行

```
adslproxy send
```

运行结果：

```
2020-04-13 01:39:30.811 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...
2020-04-13 01:39:30.812 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy
2020-04-13 01:39:30.812 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...
2020-04-13 01:39:30.893 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully
2020-04-13 01:39:37.034 | INFO     | adslproxy.sender.sender:run:108 - Get New IP 113.128.9.239
2020-04-13 01:39:42.221 | INFO     | adslproxy.sender.sender:run:117 - Valid proxy 113.128.9.239:3389
2020-04-13 01:39:42.458 | INFO     | adslproxy.sender.sender:set_proxy:82 - Successfully Set Proxy
2020-04-13 01:43:02.560 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...
2020-04-13 01:43:02.561 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy
2020-04-13 01:43:02.561 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...
2020-04-13 01:43:02.630 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully
2020-04-13 01:43:08.770 | INFO     | adslproxy.sender.sender:run:108 - Get New IP 113.128.31.230
2020-04-13 01:43:13.955 | INFO     | adslproxy.sender.sender:run:117 - Valid proxy 113.128.31.230:3389
2020-04-13 01:43:14.037 | INFO     | adslproxy.sender.sender:set_proxy:82 - Successfully Set Proxy
2020-04-13 01:46:34.216 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...
2020-04-13 01:46:34.217 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy
2020-04-13 01:46:34.217 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...
2020-04-13 01:46:34.298 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully
```

此时有效代理就会发送到 Redis。
adem 1.0.8
Giving Python Ability to Work directly on Matrices explicitly
License: MIT
Requires Python: >=3.6

This is package is under testing.
You might experience a lot of bugs; but  be rest assured that we are working on them.

A stable version will be released soon, with all infos
Contact miraclem2014@gmail.com for any info and enquiries

This package contains

Matrix: Giving python the ability to work directly on Matrices explicitly
Expressions: Algebraic Manipulations in form of Polynomials for python
Equations: Solving expressions, including Simultaneous equations
Fundamentals: Comprising basic math functions

This is package is under testing.
You might experience a lot of bugs; but  be rest assured that we are working on them.

A stable version will be released soon, with all infos
Contact miraclem2014@gmail.com for any info and enquiries

-------------------Version 1.0.0-------------------------
Skyforce 0.1.0
Skyforce provides stable implementations of various Python functions.
License: MIT
Keywords: python,skyforce

# README #

This README would normally document whatever steps are necessary to get your application up and running.

### What is this repository for? ###

* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)

### How do I get set up? ###

* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions

### Contribution guidelines ###

* Writing tests
* Code review
* Other guidelines

### Who do I talk to? ###

* Repo owner or admin
* Other community or team contact
LSHC 1.0
Hierarchical Agglomerative Clustering based on Locality Sensitive Hashing
License: MIT
Requires Python: >=3.4

LSH-Link (Cython Version)
======================

Purpose
-------

The purpose of this package is to demonstrate how and organize a project developed using Cython.
It shows a suitable folder structure according to the best practices, how to create extension modules with Cython, how to implement functions in C and make them available to Cython, how to include package data, how to write a `setup.py` script that allows users without Cython to install the package nonetheless.

Installation
------------

### From a repository checkout

```bash
make install
```
or
```bash
USE_CYTHON=1 pip install --user .
```

### From PyPi

```bash
pip install --user cython-package-example
```
LSHCy 1.1
Hierarchical Agglomerative Clustering based on Locality Sensitive Hashing
License: MIT
Requires Python: >=3.4

LSH-Link (Cython Version)
======================

Purpose
-------

The purpose of this package is to demonstrate how and organize a project developed using Cython.
It shows a suitable folder structure according to the best practices, how to create extension modules with Cython, how to implement functions in C and make them available to Cython, how to include package data, how to write a `setup.py` script that allows users without Cython to install the package nonetheless.

Installation
------------

### From a repository checkout

```bash
make install
```
or
```bash
USE_CYTHON=1 pip install --user .
```

### From PyPi

```bash
pip install --user cython-package-example
```
npmworkon 0.1.0
Node.js virtual environment wrapper on top of nodeenv
License: MIT
Keywords: node npm virtual environment wrapper

# npmworkon

Quick script to handle nodeenv outside of the virtualenv wrapper.

If you want it in the same virtualenv wrapper, `nodeenv -p` is what you want and you don't need npmworkon.

## Installation

```
pip install npmworkon
```

The npm virtualenv will be created in the home directory `.npmvirtualenvs`. For now, this value is hardcoded.

## Usage

Create a Python virtualenv
```
➜ mkvirtualenv py_venv
[...]
```

Install npmworkon
```
(py_venv) ➜ pip install npmworkon
[...]
```

Create a npm virtualenv
```
(py_venv) ➜ $(npmworkon node_venv)
```

List npm virtualenv
```
(node_venv) (py_venv) ➜ npmworkon
node_venv
```

Desactivate npm virtualenv
```
(node_venv) (py_venv) ➜ deactivate_node
```

Remove npm virtualenv
```
(py_venv) ➜ npmworkon --rm node_venv

(py_venv) ➜ npmworkon
# node_venv is gone :)
```
mkdocs-ko-fi-button-plugin 0.0.3
Ko-fi button is a simple plugin that let's you add a Ko-fi button with markdown.
License: MIT
Requires Python: >=3.7

# MkDocs Ko-fi Button Plugin

*An MkDocs plugin that let's you easily add a Ko-fi buttons with markdown*  
The plugin looks for Jinja style tags like `{{ko-fi}}` and replaces it with a Ko-fi button. It is possible to configure the text and color of the button.

## Setup

Install the plugin using pip:

``` bash
pip install mkdocs-ko-fi-button-plugin
```

Activate the plugin in `mkdocs.yml`:

``` bash
plugins:
    - search
    - ko-fi-button
```

## Config

### Mandatory

* `id` - Your Ko-fi ID. Can be found on your Ko-fi profile.

### Optional

* `type` - The type of button. Valid values are "widget" or "image". Default: widget
* `color` - The color of the button.
  * If `type == 'widget'`: In hex format. Default: #29abe0
  * If `type == 'image'`: Either "blue", "bluegray", "red", "green" or "black". Default: bluegray
* `text` - The text on the Ko-fi button.
  * If `type == 'widget'`: Default: "Support Me on Ko-fi"
  * If `type == 'image'`: Whatever text they have in the image.

For example:

``` bash
plugins:
    - search
    - ko-fi-button:
        id: "my_id"
        text: "My cool text"
        color: "#547884"
```

**Note:** Some MkDocs theme CSS conflicts with the widget styling. If that is the case and you cannot or will not update the CSS, the `type` config is useful. Set that to "image" and it should render properly. There will be no wiggly coffe mug though.

## Advanced config

In case the Ko-fi javascript is changed on the server side it is possible to configure the path and function calls. This will make it possible to still be able to get a working Ko-fi button widget until this plugin has been updated.

* `javascript_path` - The relative path to the javascript from https://ko-fi.com/. Default: "widgets/widget_2.js"
* `javascript_f1` - The init function. Default: "kofiwidget2.init"
* `javascript_f2` - The draw function. Default: "kofiwidget2.draw"

**Note:** These config options are only valid if `type` is set to "widget". They are ignored otherwise.
OAuthBrowser 0.0.1
OAuthBrowser is module to do authentications and web scraping.
License: MIT
Keywords: web scraping,macos,OAuth 2.0,authentication,login in,automation

# OAuthBrowser

This module will let you authenticate [OAuth 2.0](https://oauth.net/2/) via system browser and get response URL. Currently supporting **Google Chrome** and **Safari** browsers. Built with *applescript* and [*osascript*](https://ss64.com/osx/osascript.html), only works on Mac OSX. 

A lot more can be done with **OAuthBrowser** like getting source code without getting automation detection from websites.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install [OAuthBrowser](https://pypi.org/project/OAuthBrowser/).

```bash
pip install OAuthBrowser
```

Or install the latest repo from here.

```bash
pip install git+https://github.com/Saadmairaj/OAuthBrowser#egg=OAuthBrowser
```

## Usage

Usage is very simple

1. Pass authentication URL.
2. Apply `Wait` class to wait for the browser to redirect.
3. Fetch URL.
4. Close browser.

```python
from OAuthBrowser import Safari, Wait
from urllib.parse import urlparse, parse_qs

URL = """https://accounts.google.com/signin/oauth/oauthchooseaccount?
scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.metadata.readonly&
state=state_parameter_passthrough_value&
redirect_uri=https%3A%2F%2Foauth2.example.com%2Fcode&
access_type=offline&
response_type=code&
client_id=583306224539-atbcaa8ne8g85e8kc006o6vmq99qiid0.apps.googleusercontent.com&
o2v=2&as=CDdm3G6Zd1UOG9o_gWXzQQ&flowName=GeneralOAuthFlow"""

# Initialise browser
browser = Safari(window_geometry=(100, 22, 400, 690))
# Pass Authentication URL
browser.open_new_window(URL)
# Initialise Wait
wait = Wait(browser)
# Wait till query "code" is present in the URL.
wait.until_present_query('code')
# Fetch the url
response_url = urlparse(browser.get_current_url())
code = parse_qs(response_url.query).get('code')[0]
print("\nCode: %s\n" % code)
# Close the browser
browser.quit()
```

## Demonstration

```bash
python -m OAuthBrowser
```

## Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method of this repository before making a change.

Please make sure to update tests as appropriate.

## License

[MIT](https://github.com/Saadmairaj/OAuthBrowser/blob/master/LICENSE.txt)
## Changelog

- **0.0.1**
    * First import.