semvec/pypi-packages huggingface dataset:
titanq 0.37.1
The TitanQ SDK for python
Requires Python: >=3.9
Keywords: titan, titanq, optimization, platform, infinity, infinityq

# The TitanQ SDK for Python

![Python](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11-blue) ![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)

TitanQ is the InfinityQ Software Development Kit (SDK) for Python. The SDK facilitates and opens the way for faster implementation
of the TitanQ solver without having to deal directly with the [TitanQ API](https://docs.titanq.infinityq.io).

This TitanQ package is maintained and published by [InfinityQ](https://www.infinityq.tech/)


## API Key

In order to use the TitanQ service, a user needs an API key.
The API key can be obtained by contacting [InfinityQ support](mailto:support@infinityq.tech)


## Installation

The following steps assume that you have:

- A **valid** and **active** API Key
- A supported Python version installed


## Setting up an environment

``` bash
python -m venv .venv
.venv/bin/activate
```


## Install TitanQ

``` bash
pip install titanq
```


## Using TitanQ

The TitanQ solver is designed to support very large problems and therefore very large files. To simplify the user experience, TitanQ will instead use cloud storage set up and managed by the end users.

Currently, the SDK supports two types of storage

| Storage options                | Total input files size         |
|--------------------------------|--------------------------------|
| S3 Buckets                     | ✅ Up to 42GB                  |
| Managed storage                | ⚠️ Up to 1GB                    |

Both options are documented with examples at the TitanQ's [Quickstart documentation](https://docs.titanq.infinityq.io/user-guide/quickstart/sdk-quickstart)

## Problem construction


TitanQ is an optimization solver for highly non-convex optimization problems. Information on problem construction can be found in the [User Guide](https://docs.titanq.infinityq.io/user-guide), and the [SDK Documentation](https://sdk.titanq.infinityq.io/).

Additional parameters are available to tune the problem:
- beta
- coupling_mult
- num_chains
- num_engines

For more informations how to use theses parameters, please refer to the [API documentation](https://docs.titanq.infinityq.io)


## Getting support or help


Further help can be obtained by contacting [InfinityQ support](mailto:support@infinityq.tech)
shapeslib 0.0.1
Библиотека для вычисления площадей фигур
Requires Python: >=3.6

# ShapesLib

Библиотека для вычисления площади геометрических фигур.

## Установка

```bash
pip install shapeslib
```

## Использование

### Круг
```python
from shapeslib import Circle

circle = Circle(5)
print(circle.area())  # 78.53981633974483
```

### Треугольник
```python
from shapeslib import Triangle

triangle = Triangle(3, 4, 5)
print(triangle.area())  # 6.0
print(triangle.is_right_angled())  # True
```

### Общий расчет площади
```python
from shapeslib import calculate_area, Circle, Triangle

print(calculate_area(Circle(2)))  # 12.566370614359172
print(calculate_area(Triangle(5, 5, 5)))  # 10.825317547305483
```
leetbuddy 0.1.1
A CLI tool for LeetCode daily problems and submissions
Requires Python: >=3.7

# LeetBuddy CLI

A command-line tool to help you solve LeetCode problems more efficiently.

## Features

- Sign in to LeetCode and save credentials
- Get today's Problem of the Day
- Automatically create workspace with problem statement and solution template
- Submit solutions (coming soon)

## Installation

Install it via PyPI (after publishing):
```bash
pip install leetbuddy
```

## Usage

### Sign in to LeetCode
```bash
leetbuddy signin
```
This will prompt you for your LeetCode username and password and save them securely.

### Get Today's Problem
```bash
leetbuddy today
```
This will:
1. Fetch today's Problem of the Day
2. Create a new directory with the problem name
3. Create a README.md with the problem statement
4. Create a solution.cpp file with a basic template
5. Open VS Code in the problem directory

### Submit Solution (Coming Soon)
```bash
leetbuddy submit
```
This will submit your solution to LeetCode and show the results.

## Requirements

- Python 3.7+
- Chrome browser (for Selenium)
- VS Code (for opening the workspace)
- click
- requests
- urllib3

## License
MIT

## Note

Your LeetCode credentials are stored in `~/.leetbuddy_config.json`. Make sure to keep this file secure.