semvec/pypi-packages huggingface dataset:
canonicalwebteam.discourse-docs 1.0.1
Flask extension to integrate discourse content generated to docs to your website.

# canonicalwebteam.discourse_docs

Flask extension to integrate discourse content generated to docs to your website.

## Install

Install the project with pip: `pip install canonicalwebteam.discourse_docs`

You can add the extension on your project as follows, replacing, at least, `base_url` and `index_topic_id` with your own settings:

```python
import talisker.requests
from canonicalwebteam.discourse_docs import DiscourseDocs, DiscourseAPI

app = Flask("myapp")
session = talisker.requests.get_session()

discourse_docs = DiscourseDocs(
    parser=DocParser(
        api=DiscourseAPI(
            base_url="https://forum.example.com/", session=session
        ),
        index_topic_id=321,
        url_prefix="/docs",
    ),
    document_template="docs/document.html",
    url_prefix="/docs",
)
discourse_docs.init_app(app)
```

Once this is added you will need to add the file `document.html` to your template folder.
torch-ipopt 1.0.1
A bridge-like tools between ipopt and pytorch.
Keywords: convex optimization mathematics pytoch ipopt gpu GPU

# Torch-Ipopt

> An advanced interior-point method tools for PyTorch and Ipopt \
> Theoretically, it can run on GPU with the help of PyTorch

## Requirements
* Ipopt
* pyipopt
* pytorch

## Installation
### 1. install with pip
``` shell script
$ pip install torch-ipopt
```

### 2. install with source code
``` shell
$ git clone https://github.com/yjxkwp/torch-ipopt
$ cd torch-ipopt
$ python setup.py install
```