semvec/pypi-packages huggingface dataset:
datahub-py 0.0.15
Datahub core
Requires Python: >=3.8

# Datahub-py

Pip version of Datahub core

Emitter focused for now, with buffered queue if RabbitMQ isn't running on the local network, rabbitMQ auto-connect, buffer delivery on connection.

Service auto-discovery on the entire wifi network via /specs endpoint


## Project Integration

```
from datahub_py import Project
import config

project = Project(config)
project.beacon.emit("my_queue", { "hello": "world" })

project.beacon.helper.get_local_ip_address()
project.beacon.helper.find_emitters_and_consumers()
project.beacon.helper.find_on_ip("192.168.0.3")
project.beacon.helper.get_available_port()
project.beacon.helper.get_rabbitmq_local_ip()
project.beacon.callService(address, port, endpoint, params)
```


## Build & deploy from source

```
  pip install -e .
  python setup.py sdist
  twine upload dist/datahub_py-0.0.14.tar.gz
  twine upload dist/datahub_py-{version}.tar.gz

  pip uninstall datahub_py && pip install datahub_py
```
sitemapcrawler 0.0.1
A simple sitemap crawler that acts as the backbone for other operations
Requires Python: >=3.7

# Sitemap Crawler

sitemapcrawler is a simple, blocking Python Crawler that is the backbone of a few other projects.

You're welcome to use it, but it's only as modular as we've needed it to be, which is to say, probably not fit for projects that aren't built with this in mind.

It works pretty simply.

## Installation

```
pip install sitemapcrawler
```

## Usage

```
from sitemapcrawler import Crawler
crawler = Crawler(domain="https://yourdomain.com", sitemap="https://yourdomain.com/sitemap.xml", fetch=True)
crawler.run()
```

If you just want to fetch a given page, create an instance of the crawler and call it like this:

```
crawler.fetch_page(url="https://yourdomain.com/blog/title")
```

The `init` will create a nanoid `crawl_id` so that when results are persisted, they'll be associated to a given crawl, to make it easy for reports to be built against crawls and such.

## Building / Distributing

```
python3 -m build
python3 -m twine upload dist/* --skip-existing
asyncio-task-queues 0.0.3
Python asyncio-compatible distributed task queues
Requires Python: >=3.7

# asyncio-task-queues

_asyncio-task-queues_ is an asyncio-compatible, simple distributed task queue system written in python

NOTE: Still in very early stages.

---

**Documentation**: [https://benfiola.github.io/asyncio-task-queues/](https://benfiola.github.io/asyncio-task-queues/)

**Source Code**: [https://github.com/benfiola/async-task-queues](https://github.com/benfiola/async-task-queues)

---

## Features

- Native _asyncio_ implementation
  - Co-operative multi-tasking
  - Task cancellation
- Provides integrations into popular frameworks
  - _FastAPI_ [APIRouter](./asyncio_task_queues/fastapi.py)
  - _Click_ [Group](./asyncio_task_queues/click.py)
  - _Flask_ [Blueprint](./asyncio_task_queues/flask.py)
- Extensible architecture
  - Abstract [Broker](./asyncio_task_queues/broker.py) interface for unique broker implementations
  - [Middleware](./asyncio_task_queues/middleware.py) for in-flight modifications
  - [Event System](./asyncio_task_queues/event.py) for monitoring
- Strongly-typed
  - _ParamSpec_/_TypeVar_-backed task definitions
  - _Enum_-backed Queue typehints and warnings
  - _Protocol_-based event callbacks

## Quickstart

```python
from enum import Enum
from asyncio_task_queues import App, Schedule, redis


# define queues
class Queue(str, Enum):
    Default = "default"
    Other = "other"


# create broker and app
redis_url = "redis://:password@localhost:6379/0"
broker = redis.Broker(redis_url)
app = App(__name__, broker=broker, queue_default=Queue.Default)


# define a scheduled task
@app.scheduled_task(Schedule.cron("* * * * *"))
async def async_task(val: str):
    print(f"{val}")


# run a worker
async def worker():
    await asyncio.run_worker({Queue.Default, Queue.Other})


# enqueue jobs as a client
async def client():
    task = app.create_task(async_task).with_args(val=1)
    await app.enqueue(task)
```
charbychar 0.0.1
Write strings letter-by-letter
Requires Python: >=3.7

# CHARBYCHAR

Spice up your text by printing each individual letter instead of the entire string!

## Instructions 

1. Install: 

```
pip install charbychar
```
Alternatively, you can use:
```
py -m pip install charbychar
``` 

2. Write text:

```python
from charbychar import *

#use text using the default delay time (0.05s)
write_string("Hello, world!")

#write text using 1s delay time 
slow_write("Hello, world!")

#write text using 0.5 delay time
medium_write("Hello, world!")

#write text using 0.005 delay time
fast_write("Hello, world!")
```

3. Chew some gum. Coding is always better with gum.
Colors-Console 0.0.1
colors_terminal this tool help decorate your terminal in Python fast and easy :)
Requires Python: >=3.7

# colors_terminal

## Installation

`pip colors_terminal`
## Usage

	from terminal.colors import Colors
	
	color = Colors()
	
	color.print(f"{color.red}Hello world!", colored=True)
	# Print text without color
	color.print("Hello world!", colored=False)
	# If colored is active the color will be seen if it is off it will not be seen
### Colors
â†’ black
â†’ white
â†’ blue
â†’ red
â†’ yellow
â†’ green
â†’ orange
â†’ purple