semvec/pypi-packages huggingface dataset:
ezapi-yelp 0.4.10
A Python wrapper for Yelp API
Requires Python: >=3.8
Keywords: Yelp Fusion

<div align="center">
    <img src="https://cdn2.iconfinder.com/data/icons/social-media-applications/64/social_media_applications_28-yelp-512.png" alt="yelp" height="96">
</div>

# ezapi-yelp

[![pytest](https://github.com/zehengl/ezapi-yelp/actions/workflows/pytest.yml/badge.svg)](https://github.com/zehengl/ezapi-yelp/actions/workflows/pytest.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
![PyPI - License](https://img.shields.io/pypi/l/ezapi-yelp.svg)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ezapi-yelp.svg)
[![Downloads](https://static.pepy.tech/badge/ezapi-yelp)](https://pepy.tech/project/ezapi-yelp)
[![GitHub Pages](https://github.com/zehengl/ezapi-yelp/actions/workflows/gh-deploy.yml/badge.svg)](https://github.com/zehengl/ezapi-yelp/actions/workflows/gh-deploy.yml)

A Python wrapper for [Yelp Fusion API](https://docs.developer.yelp.com/docs/fusion-intro)

## Install

From [PyPi](https://pypi.org/project/ezapi-yelp/)

    pip install ezapi-yelp

From [GitHub](https://github.com/zehengl/ezapi-yelp)

    pip install git+https://github.com/zehengl/ezapi-yelp.git

## Usage

```python
from yelp import YelpFusion

token = "..."

yelp_fusion = YelpFusion(token)

print(yelp_fusion.business_search(location="San Francisco"))
print(yelp_fusion.transaction_search("delivery", location="San Francisco"))
print(yelp_fusion.business_details("WavvLdfdP6g8aZTtbBQHTw"))
print(
    yelp_fusion.business_match(
        name="Gary Danko",
        address1="800 N Point St",
        city="San Francisco",
        state="CA",
        country="US",
    )
)
print(yelp_fusion.reviews("WavvLdfdP6g8aZTtbBQHTw"))
print(
    yelp_fusion.autocomplete(
        text="Gary Danko", latitude=37.80587, longitude=-122.42058
    )
)
print(yelp_fusion.all_categories())
print(yelp_fusion.category_details("hotdogs"))
print(yelp_fusion.event_lookup("oakland-saucy-oakland-restaurant-pop-up"))
print(yelp_fusion.event_search(location="Oakland"))
print(yelp_fusion.featured_event(location="Oakland"))
```

## Test

```bash
git clone git@github.com:zehengl/ezapi-yelp.git
cd ezapi-yelp
export yelp_token="..."
python -m venv .venv
source .venv/bin/activate
pip install -e .
pip install -r requirements-test.txt
pytest
```

Use `$Env:yelp_token="..."` to set the api key environment variable on Windows.

## Credits

- [Icon][1] by [tulpahn][2]

[1]: https://www.iconfinder.com/icons/4102600/applications_media_social_yelp_icon
[2]: https://www.iconfinder.com/tulpahn
ez-address-parser 0.2.5
A parser for Canadian postal addresses
Requires Python: >=3.8
Keywords: adress parser,Canadian

<div align="center">
    <img src="https://cdn2.iconfinder.com/data/icons/seo-and-website/100/SEO_search_word-512.png" alt="logo" height="128">
</div>

# ez-address-parser

[![pytest](https://github.com/zehengl/ez-address-parser/actions/workflows/pytest.yml/badge.svg)](https://github.com/zehengl/ez-address-parser/actions/workflows/pytest.yml)
![coding_style](https://img.shields.io/badge/code%20style-black-000000.svg)
![PyPI - License](https://img.shields.io/pypi/l/ez-address-parser)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ez-address-parser)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/ez-address-parser)
[![Downloads](https://static.pepy.tech/badge/ez-address-parser)](https://pepy.tech/project/ez-address-parser)
[![GitHub Pages](https://github.com/zehengl/ez-address-parser/actions/workflows/gh-deploy.yml/badge.svg)](https://github.com/zehengl/ez-address-parser/actions/workflows/gh-deploy.yml)

A parser for Canadian postal addresses

## Install

From [PyPi](https://pypi.org/project/ez-address-parser/)

    pip install ez-address-parser

From [GitHub](https://github.com/zehengl/ez-address-parser)

    pip install git+https://github.com/zehengl/ez-address-parser.git

## Usage

### Command Line

    python -m ez_address_parser --address <some-address>

### Code (with pretrained model)

```python
from ez_address_parser import AddressParser

ap = AddressParser()

address = input("Address: ")
result = ap.parse(address)
for token, label in result:
    print(f"{token:20s} -> {label}")
```

### Code (without pretrained model)

```python
from ez_address_parser import AddressParser

ap = AddressParser(use_pretrained=False)

data = [
    [
        ('123', 'StreetNumber'),
        ('Main', 'StreetName'),
        ('St', 'StreetType'),
        ('E', 'StreetDirection')
    ],
    ...
] # list of list of (<token>, <label>) tuple

ap.train(data)

address = input("Address: ")
result = ap.parse(address)
for token, label in result:
    print(f"{token:20s} -> {label}")
```

## Credits

- [Icon][1] by [Rakhmat Setiawan][2]

[1]: https://www.iconfinder.com/icons/3059893/find_magnifier_search_seo_word_icon
[2]: https://www.iconfinder.com/rsetiawan93
xlsx2xlsm 1.6
This package is used to convert xlsx files to xlsm files and supports custom macros
Keywords: xlsx,xlsx2xlsm,xlsm,xlsxtoxlsm,xlsx-to-xlsm,xlsx-xlsm

# xlsx2xlsm

Python  change Microsoft Word 2007+ (.xlsx) files to .xlsm

## Installation

```
pip install xlsx2xlsm
```

## Example

```python
>>> from xlsx2xlsm import xlsx2xlsm
>>> xlsx2xlsm("1.xlsx")

# or you have bin file path
>>> xlsx2xlsm("1.xlsx", "vbaProject.bin")
```
pace-calc 1.0.1
Библиотека для расчета темпа бега, скорости и времени
Requires Python: >=3.6
Keywords: pace calc

# `pace-calc` Калькулятор темпа бега

[![GitHub release](https://img.shields.io/github/release/ntymko/pace_calc.svg?style=flat-square)](https://github.com/ntymko/pace_calc/releases)
[![GitHub license](https://img.shields.io/github/license/ntymko/pace_calc.svg?style=flat-square)](https://github.com/ntymko/pace_calc/blob/main/LICENSE)

Рассчитывает по имеющимся данным темп бега, скорость или итоговое время, необходимое для преодоления определенной дистанции.

## Использование

Главный входной параметр - `distance` (пройденное расстояние, указанное в метрах) Указывается при создании объектов класса `PaceCalculator`. Используется в функциях расчета темпа, времени, скорости.

### Пример
Необходимо рассчитать темп по имеющимся расстоянию и времени

```python
from pace_calc import PaceCalculator, get_formating_time_by_seconds

distance = 5000 # в метрах
time_sec = 1500 # 25 мин.
calc = PaceCalculator(distance)
temp_sec = calc.calc_temp(time_sec) # 300 сек.
temp = get_formating_time_by_seconds(temp_sec) # 5:00
```