semvec/pypi-packages huggingface dataset:
torquant 0.0.1
None
Requires Python: >=3.6

<img src="https://github.com/nymath/torchquantum/blob/main/src/fig/logo.png" align="right" width="196" />

# torchquantum

TorchQuantum is a backtesting framework that integrates
the structure of PyTorch and WorldQuant's Operator for
efficient quantitative financial analysis.

## Contents

- [Installation](#installation)
- [Features](#features)
- [Contribution](#contribution)


## Installation
for Unix:
```shell
cd /path/to/your/directory
git clone git@github.com:nymath/torchquantum.git
cd ./torchquantum
```
Before running examples, you should compile the cython code.
```shell
python setup.py build_ext --inplace
```
Now you can run examples
```shell
python ./examples/main.py
```

If you are not downloading the dataset, then you should
```shell
cd ./examples
mkdir largedata
cd ./largedata
wget https://github.com/nymath/torchquantum/releases/download/V0.1/Stocks.pkl.zip
unzip Stocks.pkl.zip
rm Stocks.pkl.zip
cd ../
cd ../
```



## Features

- High-speed backtesting framework.
- A revised gplearn library that is compatible with Alpha mining.
- CNN and other state of the art models for mining alphas.
- Event Driven backtesting framework will be available.

## Contribution

For more information, we refer to [Documentation](https://nymath.github.io/torchquantum/navigate).
PythonLogging 1.0.2
A simple logging library for easy log file management
Requires Python: >=3.6

# PythonLogging

PythonLogging is a simple logging library for easy log file management.

## Features

### `logfile_path(path: str)`

Creates a log file at the specified path.

- **Parameters**:
    - `path` (str): Path pattern for the log file, which can include date and time placeholders.

- **Returns**:
    - Success message if the log file is created, or an error message if the file already exists or the file type is not '.txt'.

### `log(logmsg: str)`

Writes a log message to the specified log file.

- **Parameters**:
    - `logmsg` (str): Log message to be written.

- **Returns**:
    - None (no return value) if the log message is successfully written.
    - Error message if the log file path is not selected using `logfile_path()`.

## Installation

You can install PythonLogging using pip:

```bash
pip install PythonLogging
```

## Usage

To use PythonLogging, you need to first specify the log file path using the `logfile_path()` function. You can provide a path pattern with date and time placeholders to create log files with dynamic names. For example:

```python
import PythonLogging

PythonLogging.logfile_path("logs/log_%Y-%m-%d.txt")
```

Once the log file path is set, you can use the `log()` function to write log messages to the file:
```python
PythonLogging.log("Hello")
```

# License

This project is licensed under the GNU General Public License v2.0 License. See the [LICENSE](https://github.com/SForces/PythonLogging/blob/main/LICENSE) file for details.
canonicalwebteam.http 1.0.4
For making HTTP requests with helpful defaults for Canonical's webteam.

# canonicalwebteam.http

[![Tests status](https://github.com/canonical-web-and-design/canonicalwebteam.http/workflows/Tests/badge.svg)](https://github.com/canonical-web-and-design/canonicalwebteam.http/actions?query=workflow%3ATests)

**NB: We are retiring this module and will be removing it from our codebases.**

A Python library for making HTTP requests with sensible defaults.

## Installation

This module is in PyPi as `canonicalwebteam.http`. You should be able to install it simply with:

``` bash
pip install canonicalwebteam.http
```

## Tests

Tests are located in the [tests](tests) directory and can be run with `python -m unittest discover tests/`.