semvec/pypi-packages huggingface dataset:
integrators 0.1.0
Integrators: A backend-free numerical integration library for differential equations
Requires Python: >=3.6
Keywords: computational neuroscience

``BrainPy`` is a lightweight framework based on the latest Just-In-Time (JIT)
compilers (especially `Numba <https://numba.pydata.org/>`_).
The goal of ``BrainPy`` is to provide a unified simulation and analysis framework
for neuronal analysis with the feature of high flexibility and efficiency.
BrainPy is flexible because it endows the users with the fully data/logic flow control.
BrainPy is efficient because it supports JIT acceleration on CPUs and GPUs.
db-operations 1.0.1
Simple operation of database

## **README**



**db_operations** is a small tool to simplify the daily operation of the database.

Currently, for MySQL, sqlserver and Oracle databases:

-It can query the fields, data volume and other information of the table in the database.

-Query the tables in the database.

-Gets the record of the table in the database.

-It simplifies  the execution of SQL statement query, update and other operations.

For PostgreSQL database:

-The records in the table can be obtained.

-The data can be put into the database in batches.

-It simplifies the execution of SQL statement query, update and other operations.

#### Installation

db_operations  depends on:
- Python(>=3.6)
- pandas
- pymysql
- pymssql
- cx_Oracle
- psycopg2
- io

---

## **使用指南**



**db_operations**是一个简化日常操作数据库的小工具。

目前针对MySQL，SqlServer及Oracle数据库：

- 可查询数据库中表的字段、数据量等信息。

- 查询数据库中表的条目。

- 获取数据库中表的记录。

- 简化了执行SQL语句查询、更新等操作。

针对postgresql数据库：
- 可获取表中记录。
- 可将数据批量放入数据库。
- 简化了执行SQL语句查询、更新等操作。

#### 安装

db_operations依赖于：

- Python(>=3.6)
- pandas
- pymysql
- pymssql
- cx_Oracle
- psycopg2
- io
kaomi-server 0.5.3
This package contains the server endpoint for the Kaomi deployer. Kaomi server has to be run on the system where you want to deploy.
Requires Python: >=3

# Kaomi Server

This package is the server for KAOMI Deployer.

## Installaton, configuration and use

1\. Create a virtualenv

~~~
virtualenv env --python=python3
source env/bin/activate
~~~

2\. Install the package

~~~
pip install kaomi_server
~~~

3\. Create configuration folder

~~~
python -m kaomi_server configure --folder <path>
~~~

5\. Create the config file for `systemd` with path `/etc/systemd/system/kaomi-server.service`


~~~
[Unit]
Description=Kaomi Server (TM) Service

[Service]
Type=simple
User=root
Group=root
# Load env vars from /etc/default/ and /etc/sysconfig/ if they exist.
# Prefixing the path with '-' makes it try to load, but if the file doesn't
# exist, it continues onward.
EnvironmentFile=-/etc/default/kaomi-server
EnvironmentFile=-/etc/sysconfig/kaomi-server
ExecStart=<virtualenv path>/env/bin/python -m kaomi_server start --config <path file server.conf> --apikey <path directory conf.d> 
Restart=on-abnormal
WorkingDirectory=<virtualenv path>

# When stopping, how long to wait before giving up and sending SIGKILL?
# Keep in mind that SIGKILL on a process can cause data loss.
TimeoutStopSec=3min

[Install]
WantedBy=multi-user.target
~~~

Start Kaomi server on startup

~~~
systemctl daemon-reload
systemctl enable kaomi-server.service
~~~

Start the server right now 

~~~
systemctl start kaomi-server.service
~~~

---

### Formato rispose del server

The server responses are json dictionaries with the following structure:

~~~
{ "status": "status code", "substatus": "substatus code", "message": "meaning of the substatus" "data": "eventual useful data" }
~~~

### Status and substatus codes


| status | substatus | meaning | data | example |
|---|-----|-----|:-----:|----|
| 0 | | EVERYTHING WENT OK | |
|   | 0 | Action executed | - | Specified folder has been created
|   | 1 | Final status reached but not in common way | - | Folder already existed
| 1 |   | REQUEST'S ERRORS |   |   
|   | 0 | Wrong request type | - | Get request where only POST admitted| 
|   | 1 | Payload content-length greater than maximum allowed | Max request size in bytes | 
|   | 2 | Json content cannot be parsed | - | 
|   | 3 | Content-length not specified or not valid | - |
|   | 4 | Missing fields in JSON | List of requeted fields |
|   | 5 | ValueError in JSON | Exception text | Permissions received are not valid
| 2 |   | APPLICATION'S ERRORS |   |   
|   | 0 | Generic server error occurred | Exception text | | 
|   | 1 | Invalid apikey | - | 
|   | 2 | Action not permitted | Exception text | 
|   | 3 | A RuntimeError occurred | Exception text |
|   | 4 | File/folder already exists | Exception text |
|   | 5 | The uploaded file is too big | - | Uploaded file exceed maximum size (data contains maximum size in MB) |
|   | 6 | Client ip not allowed | - | The client ip is not in the allowed list |
kaomi-client 0.7.2
This package contains the client endpoint for the Kaomi deployer. Kaomi client has to be run on the deployer system.
Requires Python: >=3

# Kaomi Client

This package is the client for KAOMI Deployer.


## Command line parameters


~~~
python -m kaomi_client <ARGS>
~~~

`ARGS` can be:


| id | id extended | arg[s] | mandatory | default |
|----|-------------|--------|:---------:|:-------:|
| -k | --key | apikey | yes | - |
| -s | --server | server with Kaomi deployer | yes | - |
| -p | --port | port of kaomi service | no | 47000 |
| | | | | | 
| -d | --directory | path local dir, path remote dir | - | - |
| -dr | --directory-regex | path local dir, path remote dir, regex | - | - |
| -f | --file | path local file, path remote file | - | - | 
| -a | --action | action name | - | - |
| -x | --delete | filesystem node (file or dir) | - | - |
| -xr | --delete-regex | filesystem nodes (file or dir) based on regex match | - | - |
| | | | | | 
| -dp | --dir-perms | permissions for directories | no | remote folders' ones | 
| -fp | --file-perms | permissions for files | no | remote files' ones |
| -o | --overwrite | overwrite flag for dirs and file | no | no overwrite |
| | | | | |
| -nt | --node-type | node types to act upon when using regex operations, can be 'file', 'folder' or 'both' | no | both |
| -is | --include-subdirs | specifies whether to include subdirectories when using regex deletion, can't be used for regex upload | no | no |
| -i | --inverted | specifies whether to act upon the not matching files/folders instead of the matching ones when using regex operations | no | no |
| | | | | |
| -v | --verbose | verbose output | no | non-verbose output | 

### Output

#### Status codes

* `0` = Success
* `1` = Local error (eg. local file to be uploaded does not exist, etc.)
* `2` = Remote error: comunication (eg. server not reachable, connnection refused, timeout, etc.)
* `3` = Remote error: authorization (eg. remote folder not writable, bad custom action, invalid api key, etc.)
* `4` = Remote error: application (eg. errors specific to the action that is being executed)

#### Stdout
Client console output:

* Operations on files/folders 
    * Success: no output (if `-v` is specified, one line for file uploaded)
    * Error: error message
    
* Custom actions execution
    * Successo: no output (if `-v` is specified, the action output is show)
    * Error: error message
rxntools 0.0.2
Chemical reaction cheminformatics tools
Requires Python: >=3.6

# rxntools
Python package for handling chemical reactions based on RDKit.

## Requirements

* RDKit (version >= 2020.03.3.0)
* Python (version >= 3.6)

## Installation
```
pip install rxntools
```

## Usage
See [notebook](https://github.com/Xiangyan93/rxntools/tree/main/notebook)