semvec/pypi-packages huggingface dataset:
f-enum 0.2.0
Patch for builtin enum module to achieve best performance
License: MIT
Requires Python: >=3.6.2

# fastenum

###### Based on [python/cpython#17669](https://github.com/python/cpython/pull/17669) and [python/cpython#16483](https://github.com/python/cpython/pull/16483)

Patch for stdlib `enum` that makes it *fast*.

## How fast?

- ~10x faster `name`/`value` access
- ~6x faster access to enum members
- ~2x faster values positive check
- ~3x faster values negative check
- ~3x faster iteration
- ~100x faster new `Flags` and `IntFlags` creation for Python 3.8 and below

## Wow this is fast! How do I use it?

First, install it from PyPi using pip

```shell
pip install f-enum
```

or using poetry

```shell
poetry add f-enum
```

Then enable the patch just by calling `fastenum.enable()` once at the start of your programm:

```python
import fastenum

fastenum.enable()
```

You don't need to re-apply patch across different modules: once it's enabled, it'll work everywhere.

## What's changed?

fastenum is designed to give effortless boost for all enums from stdlib. That means that none of optimizations should break existing code, thus requiring no changes other than installing and activating the library.

Here are summary of internal changes:

- Optimized `Enum.__new__`
- Remove `EnumMeta.__getattr__`
- Store `Enum.name` and `.value` in members `__dict__` for faster access
- Replace `Enum._member_names_` with `._unique_member_map_` for faster lookups and iteration (old arg still remains)
- Replace `_EmumMeta._member_names` and `._last_values` with `.members` mapping (old args still remain)
- Add support for direct setting and getting class attrs on `DynamicClassAttribute` without need to use slow `__getattr__`
- Various minor improvements
poe-client 0.5.1
Async PoE API client with rate limit support (upcoming)
License: MIT
Requires Python: >=3.6.2,<4.0.0
Keywords: poe,pathofexile,aiohttp,async,pydantic,mypy

# poe-client

[![Build Status](https://github.com/BPL-Development-Team/poe-client/workflows/test/badge.svg?branch=master&event=push)](https://github.com/BPL-Development-Team/poe-client/actions?query=workflow%3Atest)
[![codecov](https://codecov.io/gh/BPL-Development-Team/poe-client/branch/master/graph/badge.svg)](https://codecov.io/gh/BPL-Development-Team/poe-client)
[![Python Version](https://img.shields.io/pypi/pyversions/poe-client.svg)](https://pypi.org/project/poe-client/)
[![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)

Async PoE API client with rate limit support.

Updated for Scourge League.

## WARNING
This project is in an pre-alpha stage and has not been tested properly in production. Use with caution.

## Features

- Asynchronous HTTP client based on aiohttp
- Up-to-date with all PoE API endpoints
- All PoE API types defined as Pydantic schemas (Can generate OpenAPI Specifications)
- 100% test coverage and style enforced with wemake's flake8
- Fully typed with pydantic and checked with mypy, [PEP561 compatible](https://www.python.org/dev/peps/pep-0561/)


## Limitations
There is no API endpoint only to fetch rate limit headers. This means that the Client is not aware of what rules exist until it makes a real request.
Thus, be aware that sending too many request at the same time leads to being rate limited. Try to batch by 5, we've seen this as a safe level of concurrency.

## Installation

```bash
pip install poe-client
```


## Example

Showcase how your project can be used:

```python
from typing import List
import os

from poe_client.client import Client, PoEClient
from poe_client.schemas.league import League

token = os.environ["POE_TOKEN"]
contact = os.environ["POE_CONTACT"]

if not token or not contact:
    raise EnvironmentError("Need to set both POE_TOKEN and POE_CONTACT")


client = PoEClient(
    token,
    "poe-client",
    "1.0",
    contact,
)

async def list_leagues():
    """List leagues."""
    leagues: List[League] = []
    async with client:
        leagues = await client.list_leagues()

    logging.info(leagues)
```

## License

[MIT](https://github.com/BPL-Development-Team/poe-client/blob/master/LICENSE)


## Credits

This project was generated with [`wemake-python-package`](https://github.com/wemake-services/wemake-python-package). Current template version is: [6cb0736bbc9cb53ee126e2297b8ed7029b5e1380](https://github.com/wemake-services/wemake-python-package/tree/6cb0736bbc9cb53ee126e2297b8ed7029b5e1380). See what is [updated](https://github.com/wemake-services/wemake-python-package/compare/6cb0736bbc9cb53ee126e2297b8ed7029b5e1380...master) since then.
py-server-client 0.0.8
The server client for execute bash commands.
License: MIT
Requires Python: >=3.6

### Описание


Взаимодействие с удаленным сервером (linux) на базе SSHv2. 

Основой является библиотека [Paramiko](https://www.paramiko.org/).

__Функциональность__:
+ запуск команд
+ передача файлов
+ запуск процедур
quakeanalysis 0.1.7
analysing earthquake data
License: MIT
Keywords: calculator

This is prototype to analyse earthquake data from 

https://earthquake.usgs.gov/

https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php



enter a place name to get distance from nearest earthquake

earthquake_distance('place')


enter a place name to get time of nearest earthquake

earthquake_time('place')

enter a place name to get place of nearest earthquake

earthquake_place('place')

enter a place name to get longitude of nearest earthquake

earthquake_longitude('place')

enter a place name to get latitude of nearest earthquake

earthquake_latitude('place')


get the magnitude of nearest earthquake

earthquake_magnitude('place')


To get dataframe list of all recent earthquakes and their distance from place

earthquake_df('place')


To get dataframe list of all recent earthquakes and their distance from place, where distance less than 5000
earthquake_less_than('Tokyo', 5000)

Check out how to use this library

https://betterprogramming.pub/python-library-for-finding-nearest-earthquake-8c96f97c9ddb

https://github.com/g00387822/quakeanalysis

Change Log
==========

0.0.1 (03/06/2022)
-------------------
- First Release

0.0.2 (03/06/2022)
-------------------
- Second Release

0.0.3 (03/06/2022)
-------------------
- Third Release

0.0.4 (03/06/2022)
-------------------
- Fourth Release

0.0.5 (03/06/2022)
-------------------
- Fifth Release

0.0.6 (04/06/2022)
-------------------
- Sixth Release

0.0.7 (04/06/2022)
-------------------
- Seventh Release

0.0.8 (14/06/2022)
-------------------
- Eigth Release

0.0.9 (14/06/2022)
-------------------
- Ninth Release

0.1.0 (15/06/2022)
-------------------
- Tenth Release

0.1.1 (18/06/2022)
-------------------
- Eleventh Release

0.1.2 (18/06/2022)
-------------------
- Twelfth Release

0.1.3 (18/06/2022)
-------------------
- Thirteenth Release

0.1.4 (18/06/2022)
-------------------
- Fourteenth Release

0.1.5 (18/06/2022)
-------------------
- Fifteenth Release

0.1.6 (18/06/2022)
-------------------
- Sixteenth Release

0.1.7 (19/06/2022)
-------------------
- Seventeenth Release