semvec/pypi-packages huggingface dataset:
collagenai 0.0.1
CollaGen: Collaborative Learning Tool for Generative Model
Requires Python: >=3.11
Keywords: Distributed Machine Learning,Federated Learning,Collaborative Learning,LLM,Generative Model,VLM

# CollaGen Framework
Collaborative Generation Framework for Generative Model 

[![Python](https://img.shields.io/badge/python-3.10-blue?style=round-square&logo=Python&color=3776AB)](https://www.python.org/) [![PyTorch](https://img.shields.io/badge/pytorch-latest-orange?style=round-square&logo=PyTorch&color=EE4C2C)](https://pytorch.org/)

## System Environments

### Python Dependent Packages

| Packagename | Version |              Note              |
|:-----------:|:-------:|:------------------------------:|
|   loguru    |  0.7.2  |          == to latest          |
|   pyyaml    |  6.0.1  |          == to latest          |
|    wandb    | 0.16.4  |          == to latest          |
|    torch    |  2.2.1  |          == to latest          |
| torchvision | 0.17.1  |          == to latest          |
|  datasets   | 2.18.0  | == to latest, FLock simulation |
|    peft     |  0.9.0  |          == to latest, FLock simulation          |
|    flask    |  3.0.2  |          == to latest, FLock simulation          |
|     trl     | 0.7.11  |          == to latest, FLock simulation          |
|     bitsandbytes     | 0.43.0  |          == to latest, FLock simulation          |

## Acknowledgments

We thank the following repos providing helpful components/functions in our work.

- [FedML](https://github.com/FedML-AI/FedML)
- [FederatedGPT-Shepherd](https://github.com/JayZhang42/FederatedGPT-Shepherd)
phase1api 0.0.2
Binding for the ESO phase 1 programmatic API
Keywords: API,ESO,Observation,Phase1,Preparation,Programmatic

# p1api

Python binding for the phase 1 programmatic API to prepare observation proposals. 

Phase 1 programmatic API documentation can be found [here](<https://www.eso.org/cop1/apidoc/phase1.html>).
zolltools 0.2
A collection of tools for working with NEMSIS data
Requires Python: >=3.9

# zolltools

The `zolltools` package is a collection of tools and scripts for work with NEMSIS data for the purpose of analyzing and reporting on EMS data. The package has "zoll" in it because it was originally developed as part of a research project funded by a grant from the ZOLL Foundation.

## Logging

Logger names for each of the messages follow standard convention. Each module has its own logger, and they can be accessed with `logging.get_logger()`. The name of each module's logger also follows standard convention. For example, the name of the logger for the `sasconvert` module would be `"zolltools.db.sasconvert"`. Included below is a short example of how one can access the logs for the `sasconvert` module. See [Python's documentation of the logging module](https://bit.ly/469APRI) for more information on how to format and handle the logs.

```Python
import logging
import zolltools

sasconvert_logger = logging.getLogger("zolltools.db.sasconvert")
sasconvert_logger.setLevel(logging.DEBUG)
sasconvert_logger.addHandler(logging.FileHandler("sasconvert.log"))
```

To add a handler or set the level of all loggers in the package at once (and for other similar convenience functions), see the `zolltools.logging` module. See the example usage below.

```Python
import logging
from zolltools import logging as zlg

zoll_handler = logging.FileHandler("main.log")
zoll_level = logging.WARNING
zlg.set_level(zoll_level)
zlg.add_handler(zoll_handler)
```

Log messages from functions in the `zolltools` package will include a prefix in the following format:

```text
<class name if in class>.<function name>: <message>
```

## Development

### Installation

To initialize the project for development, clone the repository and run the initialization script.

```bash
git clone https://github.com/Jython1415/zolltools.git # Clone the repo
cd zolltools         # Navigate to the project root
./scripts/install.sh # Initialize the project
```

### Testing

To run tests, use the following command after activating the virtual environment:

```bash
python -m pytest
```

### Building

To build and upload the project to test PyPI, use the following command:

```bash
bash scripts/new-build.sh
```