semvec/pypi-packages huggingface dataset:
quantglobal 0.0.3
This package allows access to data provided by Quantitative Global.
Keywords: python,quantitative finance,alternative data,statistics,stocks

# Quantitative Global - v1 API

This package allows access to data provided by [Quantitative Global Indices](https://qg-indices.com/).

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install quantglobal.

```bash
pip install quantglobal
```

## Usage

```python
import QuantGlobal as qg
data = qg.download(key, strategy, underlying, from_date, **end_date)
```
### Valid parameters
- key
  - the email address associated with your account (e.g., 'your_address@ email.com')
- strategy
  - 'dca' (Dual Class Arbitrage)
  - 'pt' (Pairs Trading)
  - 'pt_extended' (Pairs Trading w/ Extended Data)
- underlying
  - For Dual Class Arbitrage ('dca'), the valid underlying parameters are:
    - 'google','zillow','fox','news'
  - For Pairs Trading (both 'pt' and 'pt_extended'), the valid underlying parameters are:
    - 'communications','consumer_discretionary','consumer_staples','energy','financials','healthcare','industrials','basic_materials','technology','utilities'
- from_date / end_date (optional)
  - date in YYYY-mm-dd format
  
## Sample Request

```python
import QuantGlobal as qg
data = qg.download(key = 'authenticated_user@email.com', strategy = 'dca', underlying = 'google', from_date = '2022-11-25')
```
Output:
| datetime             | GOOG Cumulative Returns | GOOGL Cumulative Returns | Spread | GOOG Intraday Performance | GOOGL Intraday Performance |
|----------------------|-------------------------|--------------------------|--------|---------------------------|----------------------------|
| 2022-11-25 09:30:00  | 100                     | 100                      | 0      | 0.00%                     | 0.00%                      |
| 2022-11-25 09:31:00  | 100.08                  | 100.13                   | 0.05   | 0.08%                     | 0.13%                      |
| 2022-11-25 09:32:00  | 100.24                  | 100.27                   | 0.03   | 0.24%                     | 0.27%                      |
cpfValidationTool 0.0.2
Código que valida o CPF através da validação dos últimos dois dígitos
Requires Python: >=3.5

# cpfValidationTool

The package cpfValidationTool is used to: <br>
&emsp;&emsp;- Validate a CPF using the verification digits of it; <br>
&emsp;&emsp;- Return if given CPF string is either valid or not.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install cpfValidationTool

```bash
pip install cpfValidationTool
```

## Usage

```python
from cpfValidationTool.cpfValidation import cpf
cpf.validateCPF(cpfStr)
```

## Author
Rodrigo Melo

## License
[MIT](https://choosealicense.com/licenses/mit/)
socketsc-dan5py 1.0.0
A simple socket library with events management
Requires Python: >=3.8

![](https://i.imgur.com/aVhWeoh.png)

A simple socket library with events management.


## Installation
```bash
pip install socketsc
```
or from source
```bash
python3 setup.py install
```

## Usage
Simple client and server implementation.

### Server
```python
import socketsc

server = socketsc.SocketServer(("localhost", 8080), socketsc.SOCK_TCP)

print("Server listening on port 8080")

def on_question(socket: socketsc.ServerSocketWrapper, data):
    print(f"Received {data} from {socket.client_address}")
    socket.emit("answer", "1")

server.on("question", on_question)
server.serve()
```
### Client
```python
import socketsc

server_address = ("localhost", 8080)
sock = socketsc.SocketClient(server_address, socket_family=socketsc.AF_INET, sock_type=socketsc.SOCK_TCP)


def on_answer(conn: socketsc.SocketClient, data):
    print(f"Server responded with {data}")


sock.emit("question", "0")
sock.on("answer", on_answer)
```
Processador-de-Imagens 0.0.1
Pacote de processamento de imagem usando Skimage
Requires Python: >=3.8

# PROCESSADOR DE IMAGEM

Description. 
The package package_name is used to:
Processing:
	- Histogram  matching
	- Structural similarity
	- Resize image

Utils: 
	- Read image
	- Save image
	- Plot image
	- Plot result
	- Plot histogram
	-

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package_name

```bash
pip install package_name
```

## Usage

```python
from package_name.module1_name import file1_name
file1_name.my_function()
```

## Author
Leonardo Santana

## License
[MIT](https://choosealicense.com/licenses/mit/)