semvec/pypi-packages huggingface dataset:
babichjacob-oneshot-channel 0.3.0
A Python implementation of tokio::sync::oneshot::channel
License: MIT
Requires Python: >=3.5,<4.0

<h1 align="center">1️⃣ One-Shot Channel</h1>

This library uses documentation copied and pasted from [Tokio's `sync::oneshot` library](https://docs.rs/tokio/latest/tokio/sync/oneshot/index.html), which they have generously published under the MIT license. 🙏

This is a Python implementation of [their one-shot channel](https://docs.rs/tokio/latest/tokio/sync/oneshot/fn.channel.html).

## 💻 Installation

This package is [published to PyPI as `babichjacob-oneshot-channel`](https://pypi.org/project/babichjacob-oneshot-channel/).

## 🛠 Usage

```py
from asyncio import create_task, gather, run, sleep
from itertools import count

from oneshot_channel import channel, Receiver, Sender

# TODO: write usage guidance
```

## 😵 Help! I have a question

Create an issue and I'll try to help.

## 😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix.

## 📄 License

MIT

## 🙏 Attribution

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
homocompy 1.1.1
Implementation of analytical homogenization models.
License: MIT

# HomoComPy
This packages helps in computing effective stiffness properties of continuous fibre-matrix composite materials, based on analytical homogenization models. It assumes the fibres are transversally isotropic and the matrix is isotropic

Currently, these models are supported:
- *Rule of Mixtures*
- *Chamis' model*
- *Mori-Tanaka* (based on a closed-form expression)
### Installation
`pip install HomoComPy`

### Get started
How to calculate the effective properties of a fibre / matrix composite with this package:
```
from homocompy import rule_of_mixtures, chamis_model, mori_tanaka

fvf = 0.5  # fibre volume fraction [-]

# Fibre properties - units in GPa - transversally isotropic
f_e11 = 230.0  # Young's modulus 11
f_e22 = 20.0  # Young's modulus 22
f_v12 = 0.2  # Poisson coefficient 12
f_g12 = 30.0  # Shear modulus 12
f_g23 = 7.0  # Shear modulus 23

# Matrix properties - units in GPa - isotropic
m_e = 4.0  # Young's modulus
m_v = 0.3  # Poisson coefficient

# Calculate effective properties
# Results is a tuple of floats: (e11, e22/e33, v12/v13, v23, g12/g13, g23)
results_rom = rule_of_mixtures(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)
results_chamis = chamis_model(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)
results_mori_tanaka = mori_tanaka(fvf, f_e11, f_e22, f_v12, f_g12, f_g23, m_e, m_v)

```
weather-ch 0.0.4
Python library for weather information.
License: MIT

**Project Portfolio: https://github.com/calebyhan/CalebHan** 

# weather-ch

Python library for weather information. Docker library for WeatherAPI. This project is unaffiliated with the official company.

Data from [WeatherAPI](https://www.weatherapi.com/).


## Installation
----------------------

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install weather-ch.

```bash
pip install weather-ch
```


## Usage
----------------------

```python
import weather

weatherAPI = weather.API("API KEY HERE")

# returns current weather in London
weatherAPI.current("London")

# returns 3 day forecast of London
weatherAPI.forecast("London")
```


## Documentation
----------------------

``weather.API(api_key)``

[API Key](https://www.weatherapi.com/docs/#intro-authentication)

``weather.current(q, aqi="no", lang=-1)``

[Realtime API](https://www.weatherapi.com/docs/#apis-realtime)

``weather.forecast(q, days=3, alerts="no", aqi="no", lang=-1)``

[Forecast API](https://www.weatherapi.com/docs/#apis-forecast)

``weather.history(q, dt=-1, lang=-1)``

[History API](https://www.weatherapi.com/docs/#apis-history)

``weather.future(q, dt=-1, lang=-1)``

[Future API](https://www.weatherapi.com/docs/#apis-future)

``weather.ip(q, lang=-1)``

[IP Lookup API](https://www.weatherapi.com/docs/#apis-ip-lookup)

``weather.astro(q, dt=-1, lang=-1)``

[Astronomy API](https://www.weatherapi.com/docs/#apis-astronomy)

``weather.sports(q, lang=-1)``

[Sports API](https://www.weatherapi.com/docs/#apis-sports)

``weather.timezone(q, lang=-1)``

[Time Zone API](https://www.weatherapi.com/docs/#apis-timezone)

## Contributing
----------------------

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.


## License
----------------------

[MIT](https://choosealicense.com/licenses/mit/)