semvec/pypi-packages huggingface dataset:
docx-ea-font 0.0.1
Set east asia font in docx correctly.
License: MIT
Requires Python: >=3.8

# docx-ea-font
Fix the problem that the setting of East Asian fonts in python-docx is invalid or incorrect.

修正 python-docx 中东亚字体设置无效、不正确的问题。

## Installation

```
pip install docx-ea-font
```

## Example

```Python
from docx import Document
import docx_ea_font


doc = Document("tests/test.docx")
for paragraph in doc.paragraphs:
    for run in paragraph.runs:
        docx_ea_font.set_font(run, "楷体")  # 传入一个 run 对象以及字体名称

doc.save('font-changed.docx')
```
lonadb-client 2.3
A client library for interacting with LonaDB server
License: MIT
Keywords: lonadb client database

## Installation

You can install the LonaDB Python Client via pip:

```bash
pip install lonadb-client
```

## Usage

To use the `LonaDB` Python Client, follow these steps:

1. Import the `LonaDB` class into your Python script:

```python
from lonadb_client import LonaDB
```

2. Create an instance of the `LonaDB` class by providing the required connection details:

```python
client = LonaDB(host, port, name, password)
```

Replace `host`, `port`, `name`, and `password` with the appropriate values for your LonaDB server.

3. Use the provided methods to interact with the server:

```python
# Example: Get a list of tables
tables = client.get_tables("username");

# Display the list of tables
print(tables)
```

## Available Methods

### `get_tables(user)`

Retrieves a list of tables available in the database.

### `get_table_data(table)`

Retrieves data from a specified table.

### `delete_table(table)`

Deletes a table by its name.

### `create_table(table)`

Creates a new table with the given name.

### `set_variable(table, name, value)`

Sets a variable within a table to the specified value.

### `remove_variable(table, name)`

Deletes a variable from a table.

### `get_variable(table, name)`

Retrieves the value of a variable from a table.

### `get_users()`

Retrieves a list of users in the database.

### `create_user(name, password)`

Creates a new user with the given name and password.

### `delete_user(name)`

Deletes a user by their name.

### `check_password(name, password)`

Checks if the provided password is correct for a given user.

### `check_permission(name, permission)`

Checks if a user has a specific permission.

### `remove_permission(name, permission)`

Removes a permission from a user.

### `get_permissions_raw(name)`

Retrieves the raw permission data for a user.

### `add_permission(name, permission)`

Adds a permission to a user.

### `create_function(name, content)`

Create a function which can be executed whenever you want. Just like eval.
Content = string of PHP code

### `execute_function(name)`

Executes the function

### `eval(func)`

Runs the function (must be a string of PHP code)
Example: "if ($abc == 1234) return 'wtf';"
Response: {"success": True, "response": "wtf", "process": processID}

## License

This project is licensed under the GNU Affero General Public License version 3 (GNU AGPL-3.0).
stnmf 1.1.0
Fast and versatile implementation of spike-triggered non-negative matrix factorization based on AF-HALS
License: MIT
Requires Python: >=3.10
Keywords: retina, subunits, primate, receptive field, neuroscience, STNMF, NMF, NNSVD-LRC, HALS

# STNMF with AF-HALS

[![Build status](https://github.com/gollischlab/STNMF_with_AFHALS/actions/workflows/pypi.yml/badge.svg)](https://github.com/gollischlab/STNMF_with_AFHALS/deployments/PyPI)
[![Documentation status](https://readthedocs.org/projects/stnmf/badge/?version=latest)](https://stnmf.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://img.shields.io/pypi/v/stnmf.svg)](https://pypi.python.org/pypi/stnmf)
[![DOI](https://img.shields.io/badge/DOI-10.1101%2F2024.04.22.590506-007ec6)](https://doi.org/10.1101/2024.04.22.590506)

A fast and versatile implementation of spike-triggered non-negative matrix factorization (STNMF) based on accelerated fast hierarchical alternating least squares (AF-HALS) algorithms.

This Python package allows fast inference of receptive-field subunits from the spiking responses of retinal ganglion cells including methods of hyperparameter tuning.

Described in the paper:

> **Zapp SJ, Khani MH, Schreyer HM, Sridhar S, Ramakrishna V, Krüppel S, Protti DA, Mietsch M, Karamanlis D, Gollisch T (2024). Accelerated spike-triggered non-negative matrix factorization reveals coordinated ganglion cell subunit mosaics in the primate retina. *bioRxiv*, 590506.** https://doi.org/10.1101/2024.04.22.590506

## Documentation
The documentation is available at [https://stnmf.readthedocs.io](https://stnmf.readthedocs.io).

## Installation
Install using `pip` from command-line:

```bash
pip install stnmf
```

## Contact
For feedback and bug reports, please use the [Github issue tracker](https://github.com/gollischlab/STNMF_with_AFHALS/issues).