semvec/pypi-packages huggingface dataset:
envstream 0.2.0
Live, database-backed environment variable manager for Python
License: MIT
Requires Python: >=3.7

# EnvStream

![GitHub release (latest by date)](https://img.shields.io/github/v/release/mjsully/envstream)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/mjsully/envstream)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mjsully/envstream/python-publish.yml)
![GitHub license](https://img.shields.io/github/license/mjsully/envstream)
![GitHub issues](https://img.shields.io/github/issues/mjsully/envstream)

## 📌 Overview

This project provides a database-backed, environmental variables store, enabling on-the-fly app reconfigurations without redeployment!

## 🚀 Features

* Add, update and remove environment variables from code, or from the DB!
* Inferred variable typing

## 📦 Installation

Install the package using pip:
```bash
pip install envstream
```

## 🛠 Usage

Here is an example of using EnvStream:
```python
from envstream import EnvStream

# Create instance of EnvStream
var_handler = EnvStream(
    "Application Name",
    log_level="DEBUG"
)
# Setup DB credentials
var_handler.setup_db(
    username="username",
    password="password",
    host="host",
    port="5432",
    database="database"
)
# Loads variables from DB (WHERE application = 'Application Name')
var_handler.get_variables()
# Set some variables of different types
var_handler.set_variable("variable1", "value") 
var_handler.set_variable("variable2", 1)
var_handler.set_variable("variable3", 1.0)
var_handler.set_variable("variable4", True)
# Update variable by name
var_handler.set_variable("variable4", False)
# Delete variable by name
var_handler.remove_variable("variable4")
# Periodically refresh variables
while True:
    var_handler.refresh()
    time.sleep(5)
# Automatically refresh variables
var_handler.auto_refresh(frequency=5)
```

## 🤝 Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature-branch`)
3. Commit your changes (`git commit -m 'Add some feature'`)
4. Push to the branch (`git push origin feature-branch`)
5. Open a Pull Request

## 📜 License

This project is licensed under the [MIT License](LICENSE).

## 📬 Contact

If you have any questions, feel free to open an issue or reach out via email at [mattys940@gmail.com](mailto:mattys940@gmail.com).
ModuShell 1.6.0
ModuShell is a package that you can use to customize any outputs to the console using simple calls within format strings. Requires a modern terminal that can handle ANSI escape sequences.
License: MIT
Requires Python: >=3.7
Keywords: shell, cli, ansi, terminal, formatting, console, color, text styling, customize

# ModuShell

ModuShell is a Python package that makes it easy to style terminal output using clean, and readable wrappers. Whether you're coloring text, applying bold or italic effects, or combining multiple styles at once, ModuShell simplifies working with ANSI escape codes — no memorization needed.

![Version](https://img.shields.io/github/v/tag/irvingkennet45/ModuShell?label=version)
[![Latest Release](https://img.shields.io/github/v/tag/irvingkennet45/ModuShell.svg)](https://github.com/irvingkennet45/ModuShell/releases/latest)

![Last Commit](https://img.shields.io/github/last-commit/irvingkennet45/ModuShell)
[![License](https://img.shields.io/github/license/irvingkennet45/ModuShell.svg)](https://github.com/irvingkennet45/ModuShell/blob/main/LICENSE)

---

## ✨ Features ✨

### Text Styles 🖌️
Use classic font styling:
- _Italicize Outputs!_ (`Italic`)
- **Embolden Words!** (`Weight.BOLD`)
- Alternatively, Dim Statements! (`Weight.LIGHT`)
- Under or Overline! (`Line.OVER; Line.UNDER(amnt)`)
- Strike! You're ~~OUT~~! (`Cross`)

### Color Handling! 🎨
- Ability to specify foreground (`Colorize.FONT`) or background (`Colorize.HIGH`)
- 8-bit ANSI compatibility via `Colorize.FONT8` and `Colorize.HIGH8` with JSON-defined color tables

#### Supported Formats:
- RGB (`255, 255, 255`)
- HSL (`360, 0.99, 0.99`)
- Hexadecimal (`#FFFFFF` or `#ffffff`)

### Other Features 🔍
- Good for clean formating in `f-strings` and in printed outputs
- Comes with 2 preconfigured combinations (`Big2` & `Big3`)
---

## 🔗 Installation 🔗

_Currently manual install only, will be uploaded to PyPI soon, along with references._

---

## 🕵️‍♂️ Misc. Information 🕵️‍♂️

- Visit the `References.md` file for documentation