semvec/pypi-packages huggingface dataset:
netunicorn-connector-ssh 0.0.2
SSH connector for netunicorn
License: MIT
Requires Python: >=3.10
Keywords: netunicorn

# netunicorn-connector-ssh
This is an SSH connector for netunicorn platform.  

This connector allows you to specify a list of hosts and use them as a target for deployments.
Access to the hosts is done via SSH and requires **passwordless** SSH certificate to be configured and preinstalled.

## How to use
This connector is supposed to be installed as a part of netunicorn-director-infrastructure package or container.

Install the package:
```bash
pip install netunicorn-connector-ssh
```

Then, add the connector to the netunicorn-director-infrastructure configuration:
```yaml
  ssh-connector-1:  # unique name
    enabled: true
    module: "netunicorn.director.infrastructure.connectors.ssh_connector"  # where to import from
    class: "SSHConnector"  # class name
    config: "configuration-example.yaml"     # path to configuration file
```

Then, modify the configuration file to provide needed parameters (see [example](configuration-example.yaml)), such as
list of hosts, SSH certificate location, etc.
netunicorn-connector-kubernetes 0.0.2
Kubernetes connector for netunicorn
License: MIT
Requires Python: >=3.10
Keywords: netunicorn

# netunicorn-connector-kubernetes
This is a Kubernetes connector for netunicorn platform.  

This connector allows you to attach **existing** Kubernetes cluster
to netunicorn platform and use it as a target for deployments.  

It does not configure or modify the cluster besides optional namespace creation.
All cluster configuration should be done by infrastructure administrators.


## How to use
This connector is supposed to be installed as a part of netunicorn-director-infrastructure package or container.

Install the package:
```bash
pip install netunicorn-connector-kubernetes
```

Then, add the connector to the netunicorn-director-infrastructure configuration:
```yaml
  k8s-1:  # unique name
    enabled: true
    module: "netunicorn.director.infrastructure.connectors.k8sconnector"  # where to import from
    class: "KubernetesConnector"  # class name
    config: "configuration-example.yaml"     # path to configuration file
```

Modify the configuration file to provide needed parameters (see [example](configuration-example.yaml)), such as
configuration file location, namespace, etc.
dogfood-logger 0.1.3
Logger for Grafana
License: MIT

python-package-example

This is a minimal python package, for use alongside the lesson: https://github.com/BillMills/pythonPackageLesson

Contributing:

Please do! Guidelines:

 - This lesson is for beginners. Yes there are plenty of super fancy things we don't cover here; someday, we'll make a different, super fancy lesson to teach those things.
 - Max 100 lines per PR please.
 - Open an issue or empty PR first to talk about controversial changes.
mktstructure 0.2.9
Download data from Refinitiv Tick History and compute some market microstructure measures.
License: MIT

# mktstructure

A simple command-line tool to download data from Refinitiv Tick History and compute some market microstructure measures.

## Installation

You can install `mktstructure` via `pip`:

``` bash
pip install mktstructure
```

## Quick Start

Use `-h` or `--help` to see the usage instruction:

``` bash
$ mktstructure -h
usage: mktstructure [OPTION]...

Download data from Refinitiv Tick History and compute some market microstructure measures.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit

Sub-commands:
  Choose one from the following. Use `mktstructure subcommand -h` to see help for each sub-command.

  {download,clean,classify,compute}
    download            Download data from Refinitiv Tick History
    clean               Clean downloaded data
    classify            Classify ticks into buy and sell orders
    compute             Compute market microstructure measures
```

### 1. Download data

Let's download the tick history for all S&P500 component stocks from Jan 1, 2022, to Jan 31, 2022:

``` bash
mktstructure download -u {username} -p {password} --sp500 --parse --data_dir "./data" -b 2022-01-01 -e 2022-01-31
```

where `{username}` and `{password}` are the login credentials of Refinitiv DataScope Select.

Note that we set the `--parse` flag to parse the downloaded data (gzip) into csv files by stock and date into the `./data` folder.

### 2. Clean data

Then we clean the downloaded and parsed data in the `./data` folder: sorting by time, removing duplicates, etc.

``` bash
mktstructure clean --all --data_dir "./data" --replace
```

The ``--replace`` flag, if set, asks the program to replace the data file with the cleaned one to save disk space.

### 3. Classify trade directions

Use the `classify` subcommand to classify trades into buys and sells by the Lee and Ready (1991) algorithm.

``` bash
mktstructure classify --all --data_dir "./data"
```

### 4. Compute

Lastly, use the `compute` subcommand to compute specified market microstructure measures:

``` bash
mktstructure compute --all --data_dir "./data" --out bidaskspread.csv --bid_ask_spread
```

## Note

This tool is still a work in progress. Some breaking changes may be expected but will be kept minimal.
CUP-Network 0.0.15
Draw Mtx As Thumbnail
License: MIT

# CUP_Network

利用selenium自动登录和登出CUP的校园网

## 安装

```sh
pip3 install cup-network -U
```

## 使用

获取帮助: `cup-network --help`

### 子命令

| 子命令  | 样例                           | 描述        |
| -------- | ------------------------------ | ------------------ |
| login | `cup-network login <username> <password>` | 登录 |
| logout | `cup-network logout` | 登出 |
| init | `cup-network init` | 自动在Ubuntu上安装chrome driver |
| reset | `cup-network reset` | 重置密码 |