semvec/pypi-packages huggingface dataset:
getprotocol 0.2
Simple script to get if host is using http or https.
License: MIT

# GetProtocol

[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=%40syed_umar)](https://twitter.com/syed__umar)

[contributors-shield]: https://img.shields.io/github/contributors/Anon-Exploiter/getprotocol.svg?style=flat-square
[contributors-url]: https://github.com/Anon-Exploiter/getprotocol/graphs/contributors
[issues-shield]: https://img.shields.io/github/issues/Anon-Exploiter/getprotocol.svg?style=flat-square
[issues-url]: https://github.com/Anon-Exploiter/getprotocol/issues

Simple script to get if a host is using http or https. Once the results come back, make sure to go through each and every line! Might contain bugs :cat:

### Tested On (OS & Python version)
- WSL2 - Ubuntu 20.04 LTS -- Python 3.8.5

### Downloading & Installation
```csharp
pip3 install getprotocol 
```

OR

```csharp
git clone https://github.com/Anon-Exploiter/getprotocol/
cd getprotocol/
python3 setup.py build 
python3 setup.py install --user
```

### Usage

Piping hosts `cat` from a file to the script:
```bash
cat hosts.txt | getprotocol
```

Get hosts from file and pass it to `getprotocol`:
```bash
getprotocol < hosts.txt
```

### Todos
- Add Colors
- Create a Docker image/Dockerfile
- Do more QA testing

### Filing Bugs/Contribution
Feel free to file a issue or create a PR for that issue if you come across any.
adslproxy-ota 1.0.4
ADSL Proxy Pool Tool Forked from https://github.com/Python3WebSpider/ADSLProxy
License: MIT
Requires Python: >=3.5.0

## 拨号主机设置

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

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

### 安装 ADSLProxy

```
pip3 install -U adslproxy-ota
```

### 设置环境变量

```
# Redis 数据库地址、端口和密码
export REDIS_HOST=
export REDIS_PORT=
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。
flash-web-framework 1.0.0
Python Web Framework built for learning and fun.
License: MIT
Requires Python: >=3.6.9

# Welcome to Flash 👋
![Version](https://img.shields.io/badge/version-1-blue.svg?cacheSeconds=2592000)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)

> Flash is a Python based web framework that has been created to 
learn how web framework work under the hood



## Author

👤 **Manikant Kumar**

* Website: https://devil-cyber.github.io/CodingSpace/
* Github: [@devil-cyber](https://github.com/devil-cyber)
* LinkedIn: [@mani360](https://linkedin.com/in/mani360)

## Show your support

Give a ⭐️ if this project helped you!


***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
nindex 1.0.0
nindex
License: MIT
Requires Python: >=3.8
Keywords: index bisect

# nindex

Classes to provide efficient indexing and slicing operations into a list of objects by certain attribute key.

## Installation

```bash
pip install ninstall
```

## Usage

1. Create your list of objects:
```python
class Item():
    def __init__(self, value, name):
        self.value = value
        self.name = name

items = [
    Item(1, "alpha"),
    Item(3, "beta"),
    Item(8, "gamma"),
    Item(22, "delta")
]
```

2. Wrap the list in a new Index, and specify which attribute will be the key:
```python
from nindex import Index
itemindex = Index(items, "value")
```

3. Quickly look up objects by attribute key:
```python
 # Look for the object with this exact value
item = itemindex[3]
print(item.name)
# 'beta'

# Look for the closest object with less than or equal to this value
item = itemindex.le(20)
print(item.name)
# 'gamma'

# Look for all objects with values in the given range
items = itemindex[2:22] #
for item in items:
    print(item.name)
# 'beta'
# 'gamma'
```

## Limitations

This with *only* work if:
- The list is sorted
- The list doesn't change
- The keyed attributes don't change
- The keyed attributes contain no duplicate values
chamallow 0.1.1
Yet another yaml runner.
License: MIT
Keywords: yaml,runner

# Chamallow

...

## Install

...

### Local Usage Only

...

```bash
(venv)$ pip install chamallow
```

### Distributed Usage

...

```bash
(venv)$ pip install chamallow[zmq]
```

## Func Dispatching

...

### From YAML

...

```python
# funcs.py
def ping(a, k=None):
    return f"{a} and {k}"


def pong(a):
    print(a)
```

...

```yaml
# demo.yml
ping:
  name: "funcs.ping"
  args:
    - "foo"
  kwargs:
    k: "bar"
  tags:
    - "foo"
pong:
  name: "funcs.pong"
  args:
    - _from: "ping"
```

...

```bash
(venv)$ CHAMALLOW_TAGS=foo chamallow demo.yml
foo and bar
```

### With Decorators

...

```python
# demo.py
from chamallow import engine, flow

@flow(tags=("foo",))
def ping(a, k=None):
    return f"{a} and {k}"


@flow()
def pong(a):
    print(a)
    return True


if __name__ == "__main__":
    engine.start()
    assert pong(ping("foo", k="bar")).result() is True
    engine.stop()
```

...

```bash
(venv)$ CHAMALLOW_TAGS=foo python demo.py
foo and bar
```

## Hacking

...

### CLI

...

```bash
(venv)$ chamallow
```

### Docker

...

```bash
$ docker-compose up -d
$ docker-compose exec chamallow bash -c "chamallow examples/simple.yml"
$ docker-compose exec chamallow-client bash -c "cat simple.csv simple.json"
foo;bar
xxx;YYY
{
  "foo": "xxx",
  "bar": "YYY"
}
```

## Settings

- ADDRESS
- CACHE_TTL
- CONNECT_PORT
- DEBUG
- LOCAL
- LOG_FORMAT
- POLLING_INTERVAL
- NUMBER_OF_CLIENTS
- NUMBER_OF_REMOTE_CLIENTS
- TAGS

## Contributing

...

### Linting

...

```bash
(venv)$ pip install chamallow[lint]
(venv)$ pre-commit run --all-files
```

### Testing

...

```bash
(venv)$ pip install chamallow[test]
(venv)$ CHAMALLOW_LOCAL=True pytest tests/
```

## License

MIT