semvec/pypi-packages huggingface dataset:
finary 0.1.2
Finary se compose de différents sous-modules ayant tous pour objectif d'augmenter la productivité d'un actuaire dans ses tâches du quotidien.
Requires Python: >=3.8,<4.0

# Finary

## À propos

`Finary` se compose de différents sous-modules ayant tous pour objectif d'augmenter la productivité d'un actuaire dans ses tâches du quotidien.



## Les projets

Voici une liste non-exhaustive des idées à dates :

* `matha` : calculs basiques d'actuariat (tx équivalent, valeur actuelle...)
* `excel` : intéractions avec un fichier Excel améliorés (à partir des noms)
* `model` : modèles financiers (black & Scholes, pricer option...)
* `alm` : modèle ALM (gros projet)
* `provisions` : méthodes basiques de provisionnement (chain ladder...)
brain-paint 0.0.6
Script for visualizing ICA/ROI brain parcellation
Requires Python: >=3.7

# brain-paint
Script for visualizing ICA/ROI brain parcellation

# Requirements
```
pip install brain-paint
```

# Examples
```
brain-paint --nifti nifti.nii --anat anat.nii
```

# Options for `brain-paint`

- `--nifti`
    - path to the 4D nifti to convert to images
    - required
- `--anat`
    - path to the anatomical image to use as underlay
    - required

- `--output`
    - Name of the output file(s) 
    - default - brain-paint-output.png/svg
    - You can specify the exact extension (png or svg). If none is provided, both extensions will be used.
- `--dir`
    - name for the directory where to save results
    - can be nested (e.g., `final/most_final`)
    - default - directory where brain-paint is executed
- `--sign`
    - choices: `pos, neg, both`
    - used for filtering only positive, only negative, or both components
    - default - `both`
- `--thr`
    - threshold value for component significance
    - default - `2.0`
- `--dpi`
    - dpi for png output
    - default - `300`
mysql2pg 1.4.1
Copy data from MySQL to PostgreSQL
Requires Python: >=3.7.0

# MySQL to PostgreSQL

[![PyPI](https://img.shields.io/pypi/v/mysql2pg)](https://pypi.org/project/mysql2pg/)
[![Publish](https://github.com/hello-seer/mysql2pg/actions/workflows/publish.yml/badge.svg)](https://github.com/hello-seer/mysql2pg/actions/workflows/publish.yml)

Copy rows from MySQL to PostgreSQL quickly.

## Example

<details>
<summary>Example</summary>

```sh
export PGHOST=localhost
export PGUSER=postgres
export MYSQL_DATABASE=example
export MYSQL_HOST=127.0.0.1
export MYSQL_USER=root

docker run -d -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_DATABASE -p 3306:3306 --name mysql --rm mysql
mysql -D "$MYSQL_DATABASE" -u "$MYSQL_USER" <<EOF
CREATE TABLE example (a int, b text);
INSERT INTO example (a, b) VALUES (1, 'a'), (2, 'b'), (3, 'c');
EOF

docker run -d -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 --name postgres --rm postgres
psql <<EOF
CREATE TABLE example (a int, b text);
EOF

mysql2pg

psql <<EOF
TABLE example;
EOF

docker stop mysql
docker stop postgres
```

```txt
INFO      Found 1 tables
INFO      Truncating 1 tables
INFO      Copying table example
INFO      Copied 3 rows to table example (0.00s)

 a | b
---+---
 1 | a
 2 | b
 3 | c
(3 rows)
```

</details>

## Install

```sh
pip3 install mysql2pg
```

## Documentation

Mysql2pg copies records from MySQL tables to existing PostgreSQL tables.

Mysql2pg also resets sequences, based on the maximum column value.

Performance is limited by network bandwidth, database resources, record size,
and parallelism. In anecdotal usage, performance is 1m+ records/min serially.

### Usage

```txt
usage: mysql2pg [-h] [--log-level {critical,error,warning,info,debug}] [--parallelism PARALLELISM]
                [--pg-search-path PG_SEARCH_PATH]
                [tables ...]

Copy records from MySQL to PostgreSQL

positional arguments:
  tables

options:
  -h, --help            show this help message and exit
  --log-level {critical,error,warning,info,debug}
  --parallelism PARALLELISM
                        Number of tables to process in parallel (default: 10)
  --pg-search-path PG_SEARCH_PATH
                        PostgreSQL search path (default: None)
```

### Supported

- Parallelism
- Foreign keys
- PostgreSQL schema

### Not supported

- Creating PostgreSQL tables. If you need to convert schema, look at other tools
  like [mysql2postgres](https://github.com/maxlapshin/mysql2postgres).

## Implementation

1. MySQL tables are discovered.

2. PostgreSQL tables are truncated.

3. PostgreSQL triggers (including foreign keys) are disabled.

4. Records are streamed from MySQL and uploaded to PostgreSQL via the COPY
   command.

5. Sequences are discovered and reset based on the maximum value in the column.

Tables are processed in parallel.
seclea-ai 1.1.0
Seclea integration.
Requires Python: >=3.7

<picture><source srcset="https://github.com/seclea/seclea_ai/raw/dev/docs/media/logos/logo-dark.png" media="(prefers-color-scheme: dark)"><img src="https://github.com/seclea/seclea_ai/raw/dev/docs/media/logos/logo-light.png#gh-light-mode-only" height="100" alt="Seclea"><span style="display: none"><img alt="Seclea" src="https://github.com/seclea/seclea_ai/raw/dev/docs/media/logo-dark.png#gh-dark-mode-only" height="100"></span></picture>

# Seclea AI [![pypi](https://img.shields.io/pypi/v/seclea-ai.svg)](https://pypi.python.org/pypi/seclea-ai)

Build better models, stay compliant and manage your Data Science risks more effectively with Seclea.
We help you and your organisation to manage Data Science projects the way you want, with the tools you want, while helping
you ensure that you build safe, effective products.

[See what we can do →](https://seclea.com)

## Features

What's all the bells and whistles this project can perform?

- What's the main functionality
- You can also do another thing

## Integrate with your workflow

Get us from PyPI or conda, whatever you prefer

```shell
$ pip3 install seclea_ai
$ conda install seclea_ai
```

## Usage

Use this package to record your data science development work.

```
from seclea_ai import SecleaAI

seclea = SecleaAI(project_name="My Project", organization="My Org")
```

## Maintainers

[@rogermilroy](https://github.com/rogermilroy)

## Contributing

The best way to contribute at the moment is by giving us feedback in [Issues](https://github.com/seclea/seclea_ai/issues).
Both bug reports as well as feature requests are welcome.

In case of sensitive bugs like security vulnerabilities, please contact
security@seclea.com directly instead of using issue tracker. We value your effort
to improve the security and privacy of this project!

## License

The code in this repository is provided under the following License.

[LICENSE](https://github.com/seclea/seclea_ai/blob/dev/LICENSE.txt) © Seclea Ltd.
php-whisperer 3.0.0
Read and write php arrays with python

# php_whisperer
*"I heard you help people with PHP problems?" "Truth is, I help PHP with people problems."*

## Read PHP
Convert PHP arrays to Python objects using read_php

PHP File:
```
<?php
# /tmp/a_php_file.php
$data = [
    "My Php Array" => [
        "You",
        "get",
        "the",
        "point"
    ]
];
```
Python Code:
```
from php_whisperer import read_php
read_php('/tmp/a_php_file.php', variable='data')
```
Result:
```
{'My Php Array': ['You', 'get', 'the', 'point']}
```
### Execute Arbitrary PHP
```
from php_whisperer import read_raw

php_code = """<?php

$v = explode(" ", "You get the point");
"""
data = read_raw(php_code, "v")
print(data)
```
## Write PHP
Convert Python lists and dictionaries to PHP using generate_php

```
from php_whisperer import generate_php
generate_php([1, 2, 3, 4])
```
Result:
```
array(1, 2, 3, 4);
```
Modern syntax also available:
```
from php_whisperer import generate_php
generate_php([1, 2, 3, 4], modern=True)
```
Result:
```
[1, 2, 3, 4];
```