semvec/pypi-packages huggingface dataset:
socketswap 0.1.5
socketswap is a python package that allows to proxy any third-party libraries traffic through a local TCP Proxy
License: MIT

# socketswap

socketswap is a tool that allows to proxy any third-party libraries traffic through a TCP SOCKS5 Proxy.

Some Python libaries support proxing out of the box like requests.
For all other libaries especially ones not natively written in python, you can use socketswap to redirect traffic via a proxy.

### Usage:

There are two ways to use SwapSock. 

    - Via a Context Manager that starts the proxy in a daemon process
    - Directly as a blocking script

#### Context Manager

```python 
import socket
from socketswap import ProxySwapContext


def conn_factory():
    target_host = "localhost"
    target_port = 5432
    remote_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    remote_socket.connect((target_host, target_port))
    return remote_socket

def main():
    
    with ProxySwapContext(conn_factory, "127.0.0.1", 2222):
        # do something you want to proxy

```
The ProxySwapContext takes essentially 3 mandatory arguments.  

## Credits:

The TCP Proxy part is a slim modified version of https://github.com/ickerwx/tcpproxy.
zicheng 0.1.1
zicheng
License: MIT
Requires Python: >=3.8,<4.0

# zicheng

zicheng

## Installation

```bash
$ pip install zicheng
```

## Usage

- TODO

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`zicheng` was created by zicheng. It is licensed under the terms of the MIT license.

## Credits

`zicheng` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
pyquora 0.4.4
Fetch profiles and data from Quora.
License: MIT
Requires Python: >=3.7
Keywords: scraper,quora

# pyquora

Fetches user profiles and data from Quora.

![GitHub](https://img.shields.io/github/license/TheShubhendra/pyquora)
![PyPI - Downloads](https://img.shields.io/pypi/dm/pyquora)

![GitHub last commit](https://img.shields.io/github/last-commit/TheShubhendra/pyquora)

![Build Status](https://img.shields.io/github/workflow/status/TheShubhendra/pyquora/Python%20package)
![Requires.io (branch)](https://img.shields.io/requires/github/TheShubhendra/pyquora/master)
![GitHub repo size](https://img.shields.io/github/repo-size/TheShubhendra/pyquora)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyquora)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pyquora)
![PyPI](https://img.shields.io/pypi/v/pyquora)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
![PyPI - Status](https://img.shields.io/pypi/status/pyquora)
![PyPI - Format](https://img.shields.io/pypi/format/pyquora)


# installation

`pip install pyquora`

# Usage

```python
import asyncio
from quora import User

async def main():
    user = User(<Quora-Username>)
    profile = await user.profile()
    print(profile.followerCount)
asyncio.run(main())

```