semvec/pypi-packages huggingface dataset:
infoindia 1.1.11
Wrapper for State Data APIs

# INFOINDIA

infoindia is a wrapper for [STATE DATA APIs](https://apis.travelrealindia.in).

## API KEY

[Sign Up](https://apis.travelrealindia.in/signup) to get your api_key

Or [Sign In](https://apis.travelrealindia.in/signin) if already a user

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install infoindia.

```bash
pip install infoindia
```

## Usage

```python
import infoindia as ind

# set 'api_key'
ind.set_api_key("xxxxxxxxxxxxAPI_KEYxxxxxxxxxxx")

# initialize state var
WB = ind.State('WB')

# fetch state data
WB.fetch()

# fetch all cities in state 
WB.fetch_cities()

# initialize ut var
PY = ind.UT('PY')

# fetch state data
PY.fetch()

# fetch all cities in UT 
PY.fetch_cities()

# initialize city var
SLG = ind.City('WB019')

# fetch city data
SLG.fetch()
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
mpmaps 0.2.0
magnetopause maps
Requires Python: >=3.8
Keywords: space, plasma-physics


![shearmapmpmaps](https://github.com/LaboratoryOfPlasmaPhysics/mpmaps/assets/3200931/ca8b579e-0435-417b-aeab-0b1306311ecb)

# Magnetopause Maps

[![PyPI](https://img.shields.io/pypi/v/mpmaps)](https://pypi.python.org/pypi/mpmaps)
[![Tests](https://github.com/LaboratoryOfPlasmaPhysics/mpmaps/actions/workflows/test_main.yml/badge.svg)](https://github.com/LaboratoryOfPlasmaPhysics/mpmaps/actions/workflows/test_main.yml)
[![Documentation Status](https://readthedocs.org/projects/mpmaps/badge/?version=latest)](https://mpmaps.readthedocs.io/en/latest/?badge=latest)
[![Coverage Status](https://codecov.io/gh/LaboratoryOfPlasmaPhysics/mpmaps/branch/main/graph/badge.svg?branch=main)](https://codecov.io/gh/LaboratoryOfPlasmaPhysics/mpmaps/branch/main)

MMPaps is a package that allows to compute and plot maps of various physical quantities onto the
Earth Magnetopause. Maps are computed from in situ measurements only, following the methodology of
Michotte de Welle et al. 2004


```
@article{MichottedeWelle2024,
title={Global environmental constraints on magnetic reconnection at the magnetopause from in-situ measurements},
DOI={10.22541/essoar.170808382.29449499/v1},
journal={ESS Open Archive},
author={Michotte de Welle, B and Aunai, N and Lavraud, B. and Nguyen, G. and Génot, V and Ghisalberti, A. and Jeandet, A. and Smets, R.},
year={2024}}
```


* Free software: GNU General Public License v3
* Documentation: https://mpmaps.readthedocs.io.

## Features

### compute a shear angle map
```python
import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

# compute and retrieve shear angle values for
# parameters set above
shear_map_values = mpm.shear_angle()

# now let's make a map for northward IMF
# other IMF params are default ones
mpm_north = mpm.MPMap(clock=45)
shear = mpm_north.shear_angle()

```

### compute reconnection rate map


```python
import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

# compute and retrieve rate values for
# parameters set above
# by default the reconnection components are computed
# so that the X line maximizes the Cassak-Shay scaliing law
# (rec_angle='rate')
rate_values = mpm.reconnection_rate()

#now same map but with X line locally aligned with the bisection
rate_values_bisec = mpm.reconnection_rate(rec_angle='bisection')

```


### compute the current density map

```python

import mpmaps
mpm = mpmaps.MPMap()

# set IMF parameters
mpm.set_parameters(tilt=12, clock=127, cone = 22, bimf=5)

values = mpm.current_density()


# default magnetopause thickness is 800km
# but can be changed
mpm.set_parameters(mp_thick=800)
values = mpm.current_density()
```



## Credits

We acknowledge support from:

-  The space plasma team of the [Laboratory of Plasma Physics](https://www.lpp.polytechnique.fr)
rrprettier2 1.0.0
My awesome Python project
Requires Python: <4.0,>=3.11

# RRPrettier

A tool to prettify data of python objects

A simple example in python:

```python
import rrprettier
data={
"name": "John Doe",
"age": 56,
"city": "New york",
"isStudent": False,
"courses": ["Math", "Science", "English"],
"address": {
    "street": "123 Main St",
    "zipCode": "10001"
}
}
rrprettier.pprint(data)
```
dataporter 0.1.8
convert csv to csv/json/sql or convert sql to csv
Requires Python: <4.0,>=3.10

# dataporter
dataporter is a lightweight migration tool. It migrate data between multiple infrastructure
## current support
### data porter
- sql -> csv, command: `sql2csv`
- csv -> sql, command: `csv2sql`

### utils
- sql schema -> txt, command: `sql_schema2txt`

for more detail usage, please use `--help`

# will support
- kafka -> csv
- csv -> kafka