semvec/pypi-packages huggingface dataset:
labfile 0.0.1
A declarative file format for scientific experiments.
Requires Python: >=3.8

<div align="center">
  
  ![logo](https://github.com/user-attachments/assets/78c35cdc-74af-49da-8ea3-5f09d26a6b9c)
  
  **A declarative language for orchestrating computational experiments.**

  [Discord](https://discord.gg/kTkF2e69fH) • [Website](https://flywhl.dev) • [Installation](#installation)
</div>

*Labfile is in proof-of-concept stage.*


### Installation
`rye add labfile --git https://github.com/flywhl/labfile`

```python
  from pathlib import Path
  from labfile import parse
  

  labfile = Path("path/to/Labfile")
  tree = parse(labfile)
  ```

### Example
(Pseudocode, check `tests/parser/Labfile.test` for current syntax)

<p align="center">
  
  <img width="600" alt="image" src="https://github.com/user-attachments/assets/11ec6161-b8b5-4dd1-955f-87d1bb471e70">
</p>

### Development

* `git clone https://github.com/flywhl/labfile.git`
* `cd labfile`
* `rye sync`

### Contributing

Labfile is in early development. We will start accepting PRs soon once it has stabilised a little. However, please join the [discussions](https://github.com/flywhl/labfile/discussions), add [issues](https://github.com/flywhl/labfile/issues), and share your use-cases to help steer the design.

## Flywheel

Science needs better software tools. [Flywheel](https://flywhl.dev/) is an open source collective building (dev)tools to accelerate scientific momentum.
PersianNameGenerator 1.0
A library for generating random Persian names.
Requires Python: >=3.6


# PersianNameGenerator

`PersianNameGenerator` is a Python package designed to generate random Persian names, including both first names and last names. It is useful for generating sample data for applications, websites, or testing purposes.

## Installation

You can install the `PersianNameGenerator` package via `pip` from PyPI:

```bash
pip install PersianNameGenerator
```

## Usage

Once installed, you can use the package to generate random Persian names in your Python project.

### Importing the Package

To use the package, import the `PersianNameGenerators` class:

```python
from PersianNameGenerator import PersianNameGenerators
```

### Example Code

Here’s an example of how you can generate random Persian names:

```python
# Create an instance of the PersianNameGenerators class
name_generator = PersianNameGenerators()

# Generate a random first name
first_name = name_generator.getFirstName()
print(f"Random First Name: {first_name}")

# Generate a random last name
last_name = name_generator.getLastName()
print(f"Random Last Name: {last_name}")

# Generate a random full name (first + last)
full_name = name_generator.getFullName()
print(f"Random Full Name: {full_name}")
```

### Example Output:

```
Random First Name: آرش
Random Last Name: رضایی
Random Full Name: آرش رضایی
```

## Features

- Generates random Persian **first names**.
- Generates random Persian **last names**.
- Combines first and last names to create a **full name**.

## License

This project is licensed under the MIT License. For more details, please refer to the [LICENSE](LICENSE) file in the repository.

## Contributing

If you would like to contribute to the development of `PersianNameGenerator`, feel free to fork the repository and submit a pull request. We welcome any suggestions or improvements.

## Acknowledgments

- The list of names used in this package is based on common Persian names and may not be exhaustive.
- Special thanks to the community for contributing ideas for name lists and improvements.

## GitHub Repository

You can find the repository for this project on GitHub: [github.com/md86mi86/PersianNameGenerator](https://github.com/md86mi86/PersianNameGenerator)
cillow 1.0.0
Code Interpreter Library
Requires Python: <4.0,>=3.10
Keywords: python

<p align="center">
    <img src="https://i.imgur.com/mBdWuQP.gif" width="450px" alt="cillow logo gif">
</p>

---

<p align="center">
    <a href="https://img.shields.io/github/v/release/synacktraa/cillow">
        <img src="https://img.shields.io/github/v/release/synacktraa/cillow" alt="cillow version">
    </a>
    <a href="https://github.com/synacktraa/cillow/actions/workflows/main.yml">
        <img src="https://github.com/synacktraa/cillow/actions/workflows/main.yml/badge.svg" alt="cillow CI status">
    </a>
    <a href="https://codecov.io/gh/synacktraa/cillow">
        <img src="https://codecov.io/gh/synacktraa/cillow/branch/main/graph/badge.svg" alt="cillow codecov">
    </a>
    <a href="https://img.shields.io/github/license/synacktraa/cillow">
        <img src="https://img.shields.io/github/license/synacktraa/cillow" alt="cillow license">
    </a>
</p>

Cillow is an open-source library that enables you to execute AI-generated code in a controlled environment. The name "Cillow" follows the same naming convention as "Pillow" (Python Imaging Library), representing its role as a Code Interpreter Library.

It offers key features such as:

- **Environment Switching**: Effortlessly switch between multiple Python environments.
- **Automated Package Installation**: Automatically install imported packages using `uv` or `pip`.
- **Functionality Patches**: Apply patches to restrict the scope of AI-generated code, capture outputs such as `stdout`, `stderr`, images, plots, and more.

### Check Documentation

Visit [synacktra.is-a.dev/cillow](https://synacktra.is-a.dev/cillow/)

### Installation

```bash
pip install cillow
```

### Hosting a server

```python
import cillow

cillow.add_patches(
    cillow.prebuilt_patches.patch_stdout_stderr_write,
    cillow.prebuilt_patches.patch_matplotlib_pyplot_show,
    cillow.prebuilt_patches.patch_pillow_show,
)

if __name__ == "__main__":
    server = cillow.Server(
        port=5556, max_interpreters=2, interpreters_per_client=1
    )
    server.run()
```

### Running code through a client

```python
import cillow

client = cillow.Client.new(host="127.0.0.1", port=5556)

client.run_code("""
from PIL import Image, ImageDraw

img = Image.new('RGB', (400, 300), 'white')

draw = ImageDraw.Draw(img)
draw.rectangle([50, 50, 350, 250], outline='black', width=3)
draw.ellipse([100, 100, 300, 200], outline='purple', width=3)
draw.line([50, 250, 350, 250], fill='blue', width=3)

img.show()
""")
```

---

At the moment, Cillow only supports Python, as it does not rely on Jupyter Kernel/Lab.

This project began as an exploration of [E2B](https://e2b.dev/)'s code interpreter. I implemented the Python interpreter from scratch, taking a different approach by adding features like environment switching and functionality patching. Recognizing the potential of the project, I expanded it into a client-server architecture using ZeroMQ, threading, and multiprocessing.