semvec/pypi-packages huggingface dataset:
nzbn 1.0.0
New Zealand Business Number library
Requires Python: >=3.6
Keywords: library http api web payments finance nzbn new-zealand nz business business-number

# New Zealand Business Number Python Library

A Python library for interacting with New Zealand Business Number (NZBN)
services provided by the New Zealand Ministry of Business, Innovation, and
Employment (MBIE).

## Installation

```
$ pip install nzbn
```

## Nomenclature

The MBIE NZBN API has two main "Entity" types, where "Entity" is used to refer
to a legal person recorded in the New Zealand Business Register (NZBR). The
firs is included in vector results from search queries, and is called
`SearchEntity`. The second is returned in response to requests for a specific
NBZN, and is called `FullEntity`.

The authors of this library find referring to these as `AbbreviatedEntity`
and `Entity` to be more natural, and therefore those names are used. You can
also use `SearchEntity` and `FullEntity` in your Python code, as those names
are effectively type-aliases for `AbbreviatedEntity` and `Entity`.

## Example Usage

### Get a list of abbreviated entities

```python
from nzbn import AbbreviatedEntity

entities: List[AbbreviatedEntity] = AbbreviatedEntity.retrieve_many(
    api_key="your nzbn API access token",
    search_text="some entity name",
    page=0,    # defaults to 0
    limit=20   # per page count, defaults to 20
)
```

### Get detailed data about an entity

```python
from nzbn import Entity

entity: Optional[Entity] = Entity.retrieve(
    api_key="your nzbn API access token",
    nzbn="9429049541410",
    sandbox=False  # defaults to False
)
```
bruinen 1.2.1
A client library for accessing Bruinen API
Requires Python: >=3.8,<4.0

# Bruinen Python SDK

Welcome to the Bruinen Python SDK! The SDK makes it easy for you to access the Bruinen API without having to interact with server code directly. 

The SDK provides three modules to help with accessing Bruinen's API:
- `client`: Wrapper around all API endpoints
- `confirm`: Module to enable user confirmation of actions at call time
- `langchain`: Set of out-of-the-box tools for use in Langchain [agents](https://python.langchain.com/en/latest/modules/agents.html)

To install the SDK, run `pip install bruinen`. For more details on how to use the SDK, visit the [docs](https://docs.bruinen.co).

If you have any questions, feel free to join our [Discord](https://discord.gg/4WwZa9TPgx) for access to the team.
embarrassing 0.0.11
A package to embarrassingly parallelize your code
Requires Python: >=3.6

# Embarrassing

[![PyPI version](https://badge.fury.io/py/embarrassing.svg)](https://badge.fury.io/py/embarrassing)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A package to embarrassingly parallelize your code.

## Installation

You can install embarrassing using pip:

```shell
pip install embarrassing
```

## Usage

```python
from embarrassing import embarrassing

# Define your callback function
def my_callback(item):
    # Perform some operations on the item
    return result

# List of contents to process
contents = [...]

# Process the contents using the embarrassing function
results = embarrassing(contents, my_callback)

# Print the results
for result in results:
    print(result)
```

## To Deploy

`python setup.py sdist bdist_wheel`

`twine upload dist/*`

## LICENSE

This project is licensed under the MIT License.

Feel free to modify and expand this template to provide more information about your package, its features, installation instructions, and how to use it. Replace "my_package" with the actual name of your package throughout the README.md file.

Ensure that you have a LICENSE file in the root directory of your project, and update the `[![PyPI version](https://badge.fury.io/py/my_package.svg)](https://badge.fury.io/py/my_package)` and `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)` badges with the appropriate links and package name.

Including a README.md file with relevant information helps users understand and effectively utilize your package.
ecape 0.1.1
Calculate the entraining CAPE (ECAPE) of a parcel.
Requires Python: >=3.8

# ecape

ecape is a simple module that contains an entraining CAPE, or ECAPE, calculation described by Peters et. al. 2023.
Peters-provided MatLab scripts serve as a reference and test verification data.
The module leans heavily on MetPy for meteorological calculations.

[![PyPI - Version](https://img.shields.io/pypi/v/ecape.svg)](https://pypi.org/project/ecape)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ecape.svg)](https://pypi.org/project/ecape)

## Installation & Use

In console:

```console
pip install ecape
```

See the example in linked documentation.

```python
   from ecape.calc import calc_ecape
   ...
   ecape = calc_ecape(height, pressure, temperature, specific_humidity, u_wind, v_wind)
```

### Documentation & Source

https://github.com/citylikeamradio/ecape

https://citylikeamradio.github.io/ecape

### Contact

 - Robert Capella
 - bob.capella@gmail.com
 - https://twitter.com/minusthebob

Questions, comments, and feedback are certainly welcome. This project is a personal exercise
in learning how to publish packages to Github & PyPI, so excuse the excessive documentation for
one function.

### Future Work
 - add support for other water content variables
 - if useful, incorporate into MetPy
 - provide cli .nc, .csv, & aws support

### A note on undiluted CAPE & calculation accuracy
**If users prefer their own CAPE calculations, use the `undiluted_cape` parameter:**

When comparing calc_ecape.py & COMPUTE_ECAPE.m run on Peters 2023 sample data,
there is a ~10% difference in the resultant ECAPE. This is almost entirely due to a difference in calculated MUCAPE.
The tests describe other sources of variation (~1%).

Given:
 - the methods here are within ~1% of Peters' calculations when undiluted CAPE is equivalent
 - Peters et. al. specifically mention MetPy for determining undiluted CAPE
 - MetPy is a reliable, open-source, and frequently used meteorological calculation package

MetPy's undiluted CAPE calculations were chosen for ease of readability and implementation.


### References
Ryan M. May, Sean C. Arms, Patrick Marsh, Eric Bruning, John R. Leeman, Kevin Goebbert, Jonathan E. Thielen, Zachary S Bruick, and M. Drew. Camron. Metpy: a Python package for meteorological data. 2023. URL: Unidata/MetPy, doi:10.5065/D6WW7G29.

John Peters. ECAPE scripts. 2 2023. URL: https://figshare.com/articles/software/ECAPE_scripts/21859818, doi:10.6084/m9.figshare.21859818.v4.

Peters, J. M., D. R. Chavas, C. Su, H. Morrison, and B. E. Coffer, 2023: An analytic formula for entraining CAPE in mid-latitude storm environments. J. Atmos. Sci., https://doi.org/10.1175/JAS-D-23-0003.1, in press.

### Licence

`ecape` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.