semvec/pypi-packages huggingface dataset:
geoapivietnam 0.3.4
Optimized Geo API for Vietnam

# Geo API Vietnam 🇻🇳

Geo API Vietnam is a package that helps you find locations in Vietnam with strongly cleaned data.

[![https://github.com/tranngocminhhieu/geo-api-vietnam](https://img.shields.io/pypi/dm/geoapivietnam)](https://pypi.org/project/geoapivietnam/) [![MIT](https://img.shields.io/github/license/tranngocminhhieu/geo-api-vietnam)](https://github.com/tranngocminhhieu/geo-api-vietnam/blob/main/LICENSE) [![Pypi](https://img.shields.io/pypi/v/geoapivietnam)](https://pypi.org/project/geoapivietnam)

Main fuction:
- Clean up and correct spelling for Province and District.
- Search location by keyword or coordinates.

Location object with properties:
- `address`: The address has been formatted correctly.
- `province`: Province is spelled correctly.
- `district`: District is spelled correctly.
- `ward`: Ward is spelled correctly.
- `latitude`: Latitude of the location.
- `longitude`: Longitude of the location.
- `source`: Origin of `original_address`, including Excel, SQLite, GeoPy, and Google Maps API.
- `original_address`: Address from the above sources.
- `json_data`: The location's data is in the form of a dictionary.

## How it works

- Use Vietnam location data to clean up and correct typos.
- Use APIs from [GeoPy](https://pypi.org/project/geopy/) and Google Maps ([Google Geocoding](https://developers.google.com/maps/documentation/geocoding)) to search for locations online.
- Use Excel and SQLite to save data locally.
- Search location in smart order: Excel > SQLite > GeoPy > Google Maps.

## How to install
### Install with Pip

Install new package.

```
pip install geoapivietnam
```

Upgrade to the latest version.

```
pip install geoapivietnam --upgrade
```

### Install with GitHub

Install new package.

```
pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git
```

Upgrade to the latest version.

```
pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git --upgrade
```

## How to use
Import module and read [Sample usage notebook](https://github.com/tranngocminhhieu/geo-api-vietnam/blob/main/notebook/sample-usage.ipynb) to explore this module.

```
from geoapivietnam import Correct, GetLocation
```
genshin-account-switcher 1.2.2
Simple account switcher for Genshin Impact on Linux.
Requires Python: >=3.10

# genshin-account-switcher

Simple account switcher for Genshin Impact on Linux.

## Installation

You need to have Python 3.10+ installed.

```bash
$ pip install genshin-account-switcher
```

## CLI: Usage

### Registering an account:

```bash
$ genshin-account-switcher register
Successfully registered account '999999999'.
```

### Switching between accounts:

```bash
# No argument -> shows list of registered accounts
$ genshin-account-switcher switch  
usage: genshin-account-switcher switch [-h] [uid]

positional arguments:
  uid

options:
  -h, --help  show this help message and exit

Available UIDs:
* [0] 888888888
* [1] 999999999 ✔

# Pick one via the UID itself or the shortcut
$ genshin-account-switcher switch 888888888
Successfully switched to account '888888888'

$ genshin-account-switcher switch 1
Successfully switched to account '999999999'
```

### Naming accounts

Since UIDs are confusing you can name your account:

```bash
$ genshin-account-switcher register --name "Main Account"
Successfully registered account '888888888' under the8 name 'Main Account'.

# You'll now see the name when trying to switch:
$ genshin-account-switcher switch  
usage: genshin-account-switcher switch [-h] [uid]

positional arguments:
  uid

options:
  -h, --help  show this help message and exit

Available UIDs:
* [0] Main Account (888888888)
* [1] 999999999 ✔

# You can also use the set-name command instead of doing this while registering
$ genshin-account-switcher set-name 999999999 "Alt Account"
Successfully saved Alt Account (999999999)
```

## GUI: Usage

You can open a graphical user interface by executing the "gui" sub command:

```bash
$ genshin-account-switcher gui
```

![](.github/screenshot.png)

## License

GNU General Public License v3

![](https://www.gnu.org/graphics/gplv3-127x51.png)
nimagen 0.0.3
Simple statistical and visualisation tool for neuroimaging genetics studies
Requires Python: >=3

# NIMAGEN: Statistical and Visualisation tool for NeuroIMAging GENetics studies

See the online [documentation](https://nimagen.readthedocs.io/en/latest/index.html) for detailed walkthrough of some of the package tools.

## Quick install

1. `pip install lehai-ml/nimagen`
2. `conda install -c lehai-ml nimagen`

Main functions of ```nimagen``` is to 
1. Perform mass linear regression tests and subsequent stability tests.
2. Visualise significant results and plot them on brain maps
3. Visualse gene-set based analyses results

## Cite

If using this package, please cite the following [paper](https://www.nature.com/articles/s41398-023-02413-6)

> Le H, Dimitrakopoulou K, Patel H, Curtis C, Cordero-Grande L, Edwards AD, Hajnal J, Tournier JD, Deprez M, Cullen H. Effect of schizophrenia common variants on infant brain volumes: cross-sectional study in 207 term neonates in developing Human Connectome Project. Transl Psychiatry. 2023 Apr 10;13(1):121. doi: 10.1038/s41398-023-02413-6. PMID: 37037832; PMCID: PMC10085987.

Example of a plot created with ```nimagen```

![Example map of brain regions with accompanying legend](images/brainmaps.png)

Figure 1. Example map of brain regions with accompanying legend

![Example regression multiple-plot](images/example_plot.png)
Figure 2. Example regression multiple-plot

Version update
- 0.0.2 - 20 March 2023 - Revamped stats module to use patsy format instead.
- 0.0.1 - First version

Things to improve
- genes.py - fix the bed_reader.to_bed, currently, the val and properties dict do not match up.
- genes.py - update the calculate snp associations, so that it can take in categorical data without dummy variables.