semvec/pypi-packages huggingface dataset:
fsspy 1.0.2
Filesystem events watcher
Requires Python: >=3.6

![pytest](https://github.com/clobrano/spy/actions/workflows/test.yml/badge.svg)

# spy
Filesystem events watcher in Python based on [Watchdog](https://duckduckgo.com/l/?uddg=https://pypi.org/project/watchdog/&notrut=duckduck_in)

# Usage

```
usage: Spy catches files changes and react with custom commands
       [-h] [--watch-dir WATCH_DIR] [--recursive RECURSIVE]
       [--on-create ON_CREATE] [--on-change ON_CHANGE] [--on-remove ON_REMOVE]
       [--extensions EXTENSIONS] [--timeout TIMEOUT]

optional arguments:
  -h, --help                            Show this help message and exit
  --watch-dir WATCH_DIR, -w WATCH_DIR   The directory to watch
  --recursive RECURSIVE, -r RECURSIVE   Whether to watch the subdirectories
  --on-create ON_CREATE                 Command to execute when a file is created inside the directory
  --on-change ON_CHANGE                 Command to execute on directory changes
  --on-remove ON_REMOVE                 Command to execute when a file is deleted from the directory
  --extensions EXTENSIONS               Comma separated list of extension file to track
  --timeout TIMEOUT                     Timeout in seconds for Spy to watch the directory (-1 is infinite)
```
seqmatcher 0.1.0
match and edit sequences of events
Requires Python: >=3.7

# seqmatcher

[![PyPI](https://img.shields.io/pypi/v/seqmatcher.svg)](https://pypi.org/project/seqmatcher/)
[![Changelog](https://img.shields.io/github/v/release/ananis25/seqmatcher?include_prereleases&label=changelog)](https://github.com/ananis25/seqmatcher/releases)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ananis25/seqmatcher/blob/main/LICENSE)

match and edit sequences of events

## Installation

Install this library using `pip`:

    $ pip install seqmatcher

## Usage

Usage instructions go here.

## Development

To contribute to this library, checkout the code and install `Flit`. 

Now install the dependencies and test dependencies:

    pip install -e '.[test]'

To run the tests:

    pytest
epyppeteer 0.0.5
Easy to using pyppeteer

# easy-pyppeteer

## install

```python
pip install epyppeteer
```

## sample code

```python
from epyppeteer import launch
import asyncio

async def main():
    async with launch() as browser:
        page = await browser.newPage()
        await page.goto("https://example.com")
        await page.screenshot({"path": "image.png"})
        
asyncio.run(main())
```
async-polygon 0.0.0a3
Async Polygon REST API

# async-polygon
This is an unofficial asynchronous version of [Official Polygon Api(REST API)](https://github.com/polygon-io/client-python)
---
# **Getting Started**

## Client example
```
import asyncio
from async_polygon import RestAsyncClient


async def main():
    api_key = 'API KEY'
    async with RestAsyncClient(api_key) as requestor:
        requestor: RestAsyncClient
        _from: str = '2022-03-29'
        _to: str = '2022-04-26'
        _timespan: str = 'hour'
        data = await requestor.aggregate_bars('AAPL', 1, _timespan, _from, _to)
        
        print(data)

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())
```

In near future I'll expand the functionality of the library
solartotr 0.0.2
Convert a solar gain on human to radiant temperature.
Requires Python: >=3.6

# PROCEDURE FOR CALCULATING COMFORT IMPACT OF SOLAR GAIN ON OCCUPANTS BY ASHRAE 55-2020

Convert a solar gain on human to radiant temperature.


## Install

    pip install solartotr
## Usage

    import solartotr
    # 自动计算时角
    t = solartotr.get_hour_angle()
    # 自动计算太阳赤纬角
    sun_angle = solartotr.get_sun_angle()
    print("Sun angle:", sun_angle)
    # 根据时角、地理纬度和太阳赤纬角计算太阳高度角
    b = solartotr.get_h(t=t, latitude=40, sun_angle=sun_angle)
    print(b)
    # 根据太阳高度角和海拔高度计算直射太阳辐射
    i_dir = solartotr.get_i_dir(b=0, height=800)
    # 根据直射太阳辐射、环境温度、太阳高度角和太阳相对于人正面的夹角计算辐射温度
    tr = solartotr.solar_to_tr(i_dir=i_dir, ta=30, b=0, sharp=120)
    print(tr)

## Parameters

- `t`: 时角，单位为度，正午为0度，取值-180度到180度
- `latitude`: 地理纬度，单位为度，北纬为正，南纬为负
- `sun_angle`: 太阳赤纬角，单位为度，北纬为正，南纬为负
- `b`: 太阳高度角，单位为度，0-90
- `i_dir`: 直射太阳辐射，单位为W/m2
- `ta`: 环境温度，单位为摄氏度
- `b`: 太阳高度角，单位为度
- `sharp`: 太阳相对于人正面的夹角，单位为度
- `tr`: 辐射温度，单位为摄氏度


## References

    ASHRAE 55-2020, Thermal Environmental Conditions for Human Occupancy.