semvec/pypi-packages huggingface dataset:
GaugeSToVbo 0.1.6
A tool to convert gauge.S data to VBO format
Requires Python: >=3.6

# GaugeSToVbo

A tool to convert gauge data to VBO format.

## Installation

You can install the package using pip:

pip install GaugeSToVbo

## Usage

To use the tool, run:

GaugeSToVbo input.csv output.vbo
WXCL 1.0.0
提供WXCL函数
Requires Python: >=3.6

# WXCL

WXCL 是一种中间代码，通过专门的翻译程序将其转换为微信小程序代码。  
这种设计允许开发者用统一的语法编写代码，专注于业务逻辑，而不必直接编写平台相关的代码，从而提高开发效率，降低维护成本。

---

## 特性

- **中间代码设计**  
  使用统一、简洁的语法，减少多平台开发的重复劳动。

- **自动转换**  
  提供高效的翻译工具，将中间代码转换为标准的 wx 小程序代码。

- **易于调试和维护**  
  中间代码层使代码逻辑更加清晰，方便调试和后续扩展。

- **扩展性**  
  除了 wx 小程序，未来还可以支持更多平台的代码转换。

---

## 安装

你可以通过 pip 安装：

```bash
pip install WXCL
cha-authentication 0.8.0
A Django app for multi-token authentication, and some other stuff.

# Authentication

A Django app for multi-token authentication.

## Installation

```bash
pip install authentication
```

##  Usage

Add authentication to your `INSTALLED_APPS` in your Django settings.

```python
INSTALLED_APPS = [
   'authentication',
]
```


### Custom User Validation

To add custom validation to the login process, follow these steps:

1. **Define the Custom Validation Function:**

   Create a custom validation function in a module. This function should accept a `user` object and perform the necessary validation.

   ```python
   # authentication/custom_validations.py
   from django.core.exceptions import PermissionDenied
   from django.utils.translation import gettext as _

   def custom_user_validation(user):
       if not user.is_active:
           raise PermissionDenied(_("User is not active."), 'inactive_user')
   ```

2. **Update the Settings:**

   In your `settings.py` file, add the `MORE_USER_VALIDATION` setting and set it to the path of your custom validation function.

   ```python
   # cha_auth/settings.py
   MORE_USER_VALIDATION = 'authentication.custom_validations.custom_user_validation'
   ```

By following these steps, you can add custom validation to the login process without modifying the URL configuration. Users can specify their custom validation function in the `MORE_USER_VALIDATION` setting, and it will be called during the login process.
cluster-algebra 0.1.2
calculator for cluster algebras
Requires Python: >=3.9

# cluster algebra calculator

This library provides a calculator for cluster algebras. 
Especially it is useful for calculating algebraic relations and visualizing quivers

## requirements

- python >= 3.8
- sympy
- pandas

## Installation

```bash
pip install cluster_algebra
```

## Usage

```
from cluster_algebra import *

q = Quiver(vertices=range(14), 
	clusters=[(1, 13), (2, 13), (2, 12), (2, 11), (2, 10), (3, 10), (4, 10), (5, 10), (5, 9), (6, 9), (6, 8)], 
	laminations=[
	# [(0, 8)], 
	# [(4, 12)]
], is_principal=True)
```

Create a quiver (with vertices from 0 to 13) and make triangulations as clusters. When adding laminations, you can use indices (first 0 means the frozen edge 0-1, second 8 means frozen edge 8-9). If is_principal is True, same number of principal laminations will be added **before than you added manually**. 

After creating a quiver instance, you can 
- flip some variables, 
```
q.flip(edge=(3, 10))
# or
q.flip(index=3)
```
- get exchange matrix, 
```
q.get_exchange_matrix()
```
- express target variable, 
```
from IPython.display import display, Math

q2 = q.express_target()

for rel in q2.relations:
    display(Math(rel._repr_latex_()))

for rel in q2.expressions:
    display(Math(rel._repr_latex_()))
```
- plotting polygon with Plotter
```
from math import pi

p = Plotter()

p.plot_quiver(q, rotation=pi, lamination_label_pos=0.7)
```
ironic-lib 5.5.1
Ironic common library
Requires Python: >=3.6

==========
ironic-lib
==========

Team and repository tags
------------------------

.. image:: https://governance.openstack.org/tc/badges/ironic-lib.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html

Overview
--------

A common library to be used **exclusively** by projects under the `Ironic
governance <https://governance.openstack.org/tc/reference/projects/ironic.html>`_.

Running Tests
-------------

To run tests in virtualenvs (preferred)::

  $ sudo pip install tox
  $ tox

To run tests in the current environment::

  $ sudo pip install -r requirements.txt -r test-requirements.txt
  $ stestr run