semvec/pypi-packages huggingface dataset:
convexgeometry 0.0.2
A collection of algorithms for membership and sampling of convex sets
Requires Python: >=3.6

# Convex Geometry Library

This package contains some primitive subroutines to

- Perform membership queries in convex bodies
- Generate random samples via random walks
- Estimate volume

## Usage/Demo

## Features/Routines implemented

- [ ] Random Walks
  - [ ] Ball walk
  - [x] Hit-and-run
  - [ ] Billiard Walk
- [ ] GLS Algorithms
  - [ ] Optimization oracle
  - [ ] Separation oracle
  - [ ] Validity oracle
  - [ ] Polarity
- [ ] Floating Body
  - Using above, see Anderson et. al.
- [ ] Centroid Body
  - See Anderson et al.
- [ ] Volume Estimation
  - See Vempala et al.

# Contributing

1. Open issue to discuss your thoughts.
1. Fork.
1. PR.
emailonline-beeflow 0.0.2
Add 'see online' link to any email
Requires Python: >=3.8

# Email Online App

This app allows you to add 'see online' link to any email you are sending to users.

## Configuration

1. Add `emailonline` to `INSTALLED_APPS` in `settings.py` file.
2. Add `DEFAULT_MAIN_PAGE="[name of default main page to redirect]"` into the `settings.py` file. 
2. Add `path("emailonline/", include("emailonline.urls")),` to the main `urls.py` file 

## Usage

Here is an example for creating email online:

```python
email_online = EmailOnline()
email_online.user = user                            # optional
email_online.content = render_to_string(
    "your_template_name.html",
    {
        ...,
        "online_message_uid": str(email_online.id),
    }
)      # prepare HTML / TXT message to send.
email_online.save()
```

HTML template example:
```html
See this <a href="{% url 'emailonline:see_email id=online_message_uid %}'">email on webpage</a>
```
rabbitqueues-beeflow 0.0.7
Application to manage RabbitMQ queues
Requires Python: >=3.8

# Rabbit queues

Application to manage RabbitMQ queues

## Configuration

Into the `setup.py` file add:

```python
INSTALLED_APPS = [
    ...
    "rabbitqueues",
]
```

and add (i.e.):

```python
RABBITMQ_HOSTNAME = "localhost"
RABBITMQ_PORT = 5672
RABBITMQ_USERNAME = "rabbitusername"
RABBITMQ_PASSWORD = "supersecretpassword"
RABBITMQ_VHOST = "/"
```

### Own consumers

To prepare own conumer you need to create `class` which will extend `AbstractManager`. and register it in
dictionary `RABBITMQ_QUEUE_CONSUMERS = {"consumer_name": consumer_class}` in `setup.py`.

## Publish to the queue example

```python
import json
from django.conf import settings
from rabbitqueues import RabbitQueue


queue = RabbitQueue(settings.RABBITMQ_EMAIL_QUEUE)
queue.basic_publish(
    routing_key=settings.RABBITMQ_EMAIL_QUEUE,
    body=json.dumps(
        {
            "subject": "some subject",
            "email_from": settings.DEFAULT_FROM_EMAIL,
            "recipient_list": ["test@test.com"],
            "message": "This is the message for user.",
        }
    ),
)
queue.close()
```