semvec/pypi-packages huggingface dataset:
aiochris 0.10.0
ChRIS client built on aiohttp
Requires Python: >=3.11

# aiochris

[![Tests](https://github.com/FNNDSC/aiochris/actions/workflows/test.yml/badge.svg)](https://github.com/FNNDSC/aiochris/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/FNNDSC/aiochris/branch/master/graph/badge.svg?token=48EEYZ3PUU)](https://codecov.io/gh/FNNDSC/aiochris)
[![PyPI](https://img.shields.io/pypi/v/aiochris)](https://pypi.org/project/aiochris/)
[![License - MIT](https://img.shields.io/pypi/l/aiochris)](https://github.com/FNNDSC/aiochris/blob/master/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[_ChRIS_](https://chrisproject.org) Python client library built on
[aiohttp](https://github.com/aio-libs/aiohttp) (async HTTP client) and
[pyserde](https://github.com/yukinarit/pyserde)
([dataclasses](https://docs.python.org/3/library/dataclasses.html) deserializer).

## Installation

Requires Python 3.11 or 3.12.

```shell
pip install aiochris
# or
rye add aiochris
```

For convenience, container images are also provided.

```shell
docker pull ghcr.io/fnndsc/aiochris:0.3.0
```

## Quick Example

```python
import asyncio
from aiochris import ChrisClient


async def readme_example():
    chris = await ChrisClient.from_login(
        username='chris',
        password='chris1234',
        url='https://cube.chrisproject.org/api/v1/'
    )
    dircopy = await chris.search_plugins(name_exact='pl-brainmgz', version='2.0.3').get_only()
    plinst = await dircopy.create_instance(compute_resource_name='host')
    feed = await plinst.get_feed()
    await feed.set(name="hello, aiochris!")
    await chris.close()  # do not forget to clean up!


asyncio.run(readme_example())
```

## Documentation Links

- Client documentation: https://fnndsc.github.io/aiochris
- Developer documentation: https://github.com/FNNDSC/aiochris/wiki
demotron 0.1.1
CLI to delight real people with live demos
Requires Python: <4.0,>=3.12

<p align="center">
  <img src=./images/demotron_logo.png alt="Demotron Logo" width="200">
</p>

# demotron

demotron is built for how I best want to solve problems as a Solutions Architect for dev tools: demos and teaching. 

I make many tweaks to the same motions when I demo live and when I teach people how to do something through simulations that reflect realistic problems worth solving. This is annoying and error prone, and forces me to do a lot of copy/paste and sanity checks before I do anything.

I'm going to start with SQLMesh as it's a tool I'm actively using and learning. 

And honestly, I'm here to have a truckload of fun.
cara-api 1.6.2
Allows you to interact with the Cara API.
Requires Python: >=3.8


## Cara API

### Python Package developed by Red_wolf2467

<hr>

This package is designed to make it easier for you to work with the Cara API (developed by CatC_guy). The package is based on the data found on the [API doc page](https://cara.twinklerealm.net/api/index.html) of the [BOT](https://cara.twinklerealm.net) / API.

<br>
<hr>
Now follow sample codes that you can simply copy / paste and use.

#### Chatfilter
````python
from cara_api import CaraAPI

caraAPI = CaraAPI("YOUR API-KEY")

bad_word_list = ["word1", "word2"]

request = caraAPI.chatfilter(message=message.content, levenshtein=2 ,FilteredWords=bad_word_list, GuildID=message.guild.id,

ChannelID=message.channel.id, AuthorID=message.author.id, MessageID=message.id,

GuildName=message.guild.name, ChannelName=message.channel.name, AuthorName=message.author.name, log=True)
# OnlyASCII = OPTIONAL; True = Delete non ASCII symbols, False = Ignore non ASCII symbols
# GoodWords = OPTIONAL; List of words that are allowed (for words that are misrecognized, structure as in "bad_word_list ")

 
print(request.result) # INT
# OK = 0, //Not filtered
# CustomBadWord = 1, //Direct Match
# Levenshtein = 2, //Disguised Bad Word
# Leet = 3, //Levenshtein + Leet
# NSFW = 4, //NSFW Content (not returned yet)
# BannedMessage = 5, //Registered Spam Message
# SuspiciousActivity = 6, //User was flagged for suspicious activity
# BotActivity = 7, //Bot activity
# SpammerNotAllowed = 8 //Registered spammer, not allowed on server

  
print(request.reason) # STRING
````

### Uer
````python
from cara_api import CaraAPI

caraAPI = CaraAPI("YOUR API-KEY")
request = caraAPI.get_user(user_id=message.author.id)

print(request.user_name)
print(request.isSpammer)
print(request.reason)
````
python-timeout 6.2
Random timeout between minimum and maximum values

### Timeout
Random timeout between minimum and maximum values

Installation:
`pip install python-timeout`

Usage:
```
from timeout import random_timeout, sleep

random_timeout(10, 20) # Random timeout between 10 and 20 seconds
random_timeout(from_minutes=1, to_minutes=2) # Random timeout between one and two minutes
random_timeout(from_hours=1, to_hours=2) # Random timeout between one and two hours
random_timeout(from_days=3, to_days=7) # Random timeout between one and two hours
random_timeout(1) # Random timeout for around one second
random_timeout(from_hours=1) # Random timeout for around one hour

sleep(5) # Sleep for five seconds
sleep(minutes=15) # Sleep for fifteen minutes
sleep(hours=2) # Sleep for two hours

from timeout import SleepTimer

during_active_time = SleepTimer('8am', '10pm').during_active_time
if during_active_time(): # Only active between certain time range
    run()
```
finance-scrapers 2.0.0
A tool to scrape and download publicly available stock information. Currently supports Yahoo Finance data.
Requires Python: >=3.6
Keywords: python, bs4, stocks, requests, stock-data, yahoofinance, finance

# Finance Scrapers
A pypi package to scrape stock information from different finance sites. Currently supports [Yahoo Finance](finance.yahoo.com).

## Installation
To install, [Download the PyPi package](https://pypi.org/project/finance-scrapers/#files) _or_,
```
pip install finance-scrapers
```
To upgrade to the latest version,
```
pip install --upgrade finance-scrapers
```

## Usage
Scrape stock information:
```python
from finance_scrapers import YahooFinance

# the tickers of the stocks you want to scrape
tickers = ['schb', 'googl', 'nflx']

# run the scraper
scraper = YahooFinance(tickers)
scraper.run()
all_stock_info = scraper.all_stock_info
```

<br>

Scrape stock information and __download__ to a file:
```python
from finance_scrapers import YahooFinance

# the tickers of the stocks you want to scrape
tickers = ['schb', 'googl', 'nflx']

# run the scraper
scraper = YahooFinance(tickers)
scraper.run()

# download data
Downloader.download_csv(data=scraper.all_stock_info, file_path='../samples/data.csv')
Downloader.download_excel(data=scraper.all_stock_info, file_path='../samples/data.xlsx')
Downloader.download_json(data=scraper.all_stock_info, file_path='../samples/data.json')
Downloader.download_md(data=scraper.all_stock_info, file_path='../samples/data.md')
```

<sub>Examples of these downloads can be found <a href="https://github.com/Mandy-cyber/Finance-Scrapers/tree/main/samples">here</a></sub>

<br>