semvec/pypi-packages huggingface dataset:
pyGeoMagApex 0.1.1
Coordination transform between GeoGraphic and GeoMagnetic
License: MIT

# pyGeoMagnetic

## What is pyGeoMagnetic?  
It is a Python program about geomagnetic field based on IGRF12 and Apex model. We can calculate magnetic field intensity and transform coordinate between GeoGraphical and GeoMagnetic.  
The source code of IGRF12 and Apex model come from Fortran file. In this package, we reform them to Python file. Although Python can translate Fortran by pyf module, it needs Fortran compiler. This package can run without Fortran compiler.  
****
## How to use it?  
main.py includes some functions which can be used directly.  
*We will give some example when this package is completed.*  
****
## What we did?
This model is called [Magnetic-Apex and Quasi-Dipole coordinate][apex]. It includes too many functions and complex math and physics. So in this package, we change the structure but keep the mathematic method.
The model has two algorithm. One is simple, basic but slow, the other one is complex but fast. We would make the simple one firstly and make another one later.
### The Apex model includes 4 steps
 - **Get Magnetic Intensity**
 - **Map Magnetic Line to Apex Position**
 - **Calculate Magnetic Coordinate**
 - **Smooth Base Vectors**  
 *more information needs to be added after complete this part.*
 
[apex]: https://doi.org/10.1029/2010JA015326
text-indexer 1.1.1
Yoctol Text Indexer
License: MIT
Requires Python: >=3.6

# text-indexer

[![Build Status](https://travis-ci.org/Yoctol/text-indexer.svg?branch=master)](https://travis-ci.org/Yoctol/text-indexer) 
[![PyPI version](https://badge.fury.io/py/text-indexer.svg)](https://badge.fury.io/py/text-indexer)

Indexer transforms list of strings to list of integers according to the string2int mapping function(e.q. a look-up table).

## Getting Started

### Prerequisites

1. Please create a virtual environment with python 3.6
2. Type the following command in terminal: 
```
make install
```

### Running the tests

```
make test
```

## How to completely save and load indexer?

### 1. Save
```python
from text_indexer.io import save_indexer
custom_indexer_instance = XXIndexer()
save_indexer(indexer=custom_indexer_instance, output_dir='directory-to-export-indexer')
```
If output_dir is `/home/user/example/`, you will get a tar file  `/home/user/example-all.tar.gz` after calling 
`save_indexer`.

### 2. Load
```python
from text_indexer.io import load_indexer
your_indexer = load_indexer(path='indexer-tar-filepath')
```