semvec/pypi-packages huggingface dataset:
geokakao 0.1.1
Geospatial Features Using Kakao API
Requires Python: >=3.6

# geokakao

The `geokakao` package provides a convenient way to utilize the Kakao API for converting addresses into GeoPackages. This package allows you to extract coordinates (longitude and latitude) from provided addresses and integrate them into a DataFrame. You can then convert the enriched DataFrame back into the GeoPackage format, facilitating seamless integration of address data with geographic coordinates.

## Features

- Convert addresses to coordinates (longitude and latitude) using the Kakao API.
- Integrate coordinate information into a DataFrame containing address data.
- Convert the enriched DataFrame back into the GeoPackage format.

## Installation

To install the `geokakao` package, you can use the following pip command:

```bash
pip install geokakao
```

## Usage

Here's a simple example of how to use the geokakao package:
```python
import geokakao as gk
import pandas as pd
```
```python
# Load your DataFrame with address information
data = {'Name': ['국립공원공단 본사',
                 '국립공원연구원 본원',
                 '치악산국립공원사무소'],
        'Address': ['강원특별자치도 원주시 혁신로 22',
                    '강원특별자치도 원주시 단구로 171',
                    '강원특별자치도 원주시 소초면 무쇠점2길 26']}
df = pd.DataFrame(data)
```
```python
# Convert addresses to coordinates and integrate into the DataFrame
gk.add_coordinates_to_dataframe(df, 'Address')
df.to_csv('korea_np.csv', index=False, encoding='utf-8')
```
```python
# Save the enriched DataFrame to a GeoPackage file
input_csv = "korea_np.csv"
output_gpkg = "korea_np.gpkg"

gk.csv_to_gpkg(input_csv, output_gpkg)
```
Pokemon-Py 0.12
A Python wrapper for PokeAPI (https://pokeapi.co/)


# pokemon-py

pokemon-py is a Python wrapper for PokeAPI (https://pokeapi.co)



## Installation

Install my-project with pip

```bash
  pip install pokemon-py
```
    
## Setup

Using Pokemon-Py is simple, we start by importing the modules we want
```python
from pokepy import Pokemon
from pokepy import Move
from pokepy import Ability
```

Then we create an instance of the Pokemon class
```python
p = Pokemon()
m = Move()
a = Ability()
```

From now on we can use those instances to call the functions



## Examples

**get_sprites**
```python
p.get_sprites(1)
```
This returns a dictionary with the sprites of the Pokemon.
```python

"back_default": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/1.png",
"back_female": None,
"back_shiny": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/1.png",
"back_shiny_female": None,
...
```

**get_battle_info**
```python
print(m.get_battle_info(4))
```

This returns a dictionary with important battle information

```python
{
    "name": "fire-punch",
    "accuracy": 100,
    "power": 75,
    "pp": 15,
    "priority": 0,
    "type": "fire",
    "damage_class": "physical",
    "effect_chance": 10,
    "effect_entry": "Has a $effect_chance% chance to burn the target.",
}
```

**get_pokemon_can_have_ability**
```python
print(a.get_pokemon_can_have_ability(1))
```

This returns a list with all the pokemon that can have that ability

```python
['gloom', 'grimer', 'muk', 'koffing', 'weezing', 'stunky', 'skuntank', 'trubbish', 'garbodor', 'garbodor-gmax']
```



## Packages

```python
requests
```



## Contact
**E-mail**: rick89@gmail.com

**Github**: https://github.com/RickVerbon
django-api-data-cache 0.2.1
A Django mixin for API data cache views
Requires Python: >=3.7

=======================================
Django API Data Cache
=======================================

API Data Cache is a simple mixin for Django REST framework to serve database
objects to clients using the api_data_cache service.

It is composed of a mixing for list views that processes the request parameters from api_data_cache 
clients for pagination and filtering.


Installation
------------

1. Install the package using pip:

   .. code-block:: bash

       pip install django_api_data_cache


2. Add `'api_data_cache'` to your Django project's `INSTALLED_APPS` list in the `settings.py` file:

   .. code-block:: python

       INSTALLED_APPS = [
           # ...
           'rest_framework',
           'api_data_cache',
           # ...
       ]



Usage
-----

1. Import the `APIDataCacheListViewMixin` into your view module:

   .. code-block:: python

       from api_data_cache.mixins import APIDataCacheListViewMixin

2. Inherit the `APIDataCacheListViewMixin` in your view class:

   .. code-block:: python

       from api_data_cache.mixins import APIDataCacheListViewMixin
       from rest_framework import viewsets
       from .models import YourModel
       from .serializer import YourPartialSerializer


       class YourListView(APIDataCacheListViewMixin, viewsets.GenericViewSet):
           queryset = YourModel.objects.all()
           serializer_class = YourPartialSerializer
           search_fields = ['field1', 'field2']
tag-from-spotify 0.4.1
fetch audio metadata from spotify and tag them to your audio files
Requires Python: >=3.6

# tag-from-spotify
[![PyPI](https://img.shields.io/pypi/v/tag-from-spotify)](https://pypi.org/project/tag-from-spotify/)
![out4](https://github.com/Detsudetsu/tag-from-spotify/assets/36166146/3a4d3afb-63ac-408d-b909-d6cd9fdc17d7)

`tag-from-spotify` is a Python CLI tool to fetch audio metadata from Spotify and tag them to your audio files.

## Installation
Since this package is meant to be an end-user app (not a library), it is highly recommended to install with `pipx`.
```
pipx install tag-from-spotify
```
Of course, you can use `pip` as well.

## Authorization
### 1. Create Credentials
To fetch data from Spotify, you have to register this app to [your dashboard](https://developer.spotify.com/dashboard/applications) and create your Client ID and Client Sectet. You will see the detail process on [the Spotify Developer page](https://developer.spotify.com/documentation/general/guides/app-settings/), but note that you won't have to prepare your website URL or a redirection URL.
### 2. Set Credentials to Environment Variables
Then add your Client ID and Client Secret to your environment variables like this:
```
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
```

## Usage
```
tfsp DIR ALBUM_ID
```
- DIR: path to the directory containing audio files to set tags
- ALBUM_ID: the album ID, URI or URL such as the following examples:
  - ID: 0WHIgko1oBSbayvwe9tdze
  - URI: spotify:album:0WHIgko1oBSbayvwe9tdze
  - URL: https://open.spotify.com/album/0WHIgko1oBSbayvwe9tdze

## Development
Create an `.env` that contains Spotify Client ID and Client Secret for the repository root (so you don't have to set them to the environment variables)

```.env
SPOTIPY_CLIENT_ID=piyopiyopiyopiyo
SPOTIPY_CLIENT_SECRET=megamegamegamega
```