semvec/pypi-packages huggingface dataset:
streamlit-tldraw 0.1.3
Streamlit component that integrates TLDraw, a powerful whiteboard and drawing tool directly to your streamlit apps
Requires Python: >=3.7

# Streamlit tldraw

A Streamlit component that integrates the tldraw whiteboard library for creating diagrams, system designs, ER diagrams and more. This component uses the latest tldraw v2 API.

![Streamlit tldraw Demo](https://raw.githubusercontent.com/Mr-Dark-debug/streamlit-tldraw/main/demo.png)

## Installation

```bash
pip install streamlit-tldraw
```

## Quick Start

```python
import streamlit as st
from streamlit_tldraw import st_tldraw

st.title("tldraw in Streamlit")

# Basic usage
result = st_tldraw(key="my_canvas")

# Display the result
if result:
    st.write("Canvas data:", result)
```

## Usage

```python
import streamlit as st
from streamlit_tldraw import st_tldraw

st.title("tldraw in Streamlit")

# Basic usage
result = st_tldraw(key="my_canvas")

# Advanced usage with options
result = st_tldraw(
    key="advanced_canvas",
    width=800,
    height=600,
    read_only=False,
    dark_mode=True,
    show_ui=True,
)

# Display the result
if result:
    st.write("Canvas data:", result)
```

## Parameters

- `key` (str, optional): A unique key for the component instance.
- `width` (int, optional): The width of the canvas in pixels. Defaults to container width.
- `height` (int, default 600): The height of the canvas in pixels.
- `read_only` (bool, default False): Whether the canvas should be in read-only mode.
- `dark_mode` (bool, default False): Whether to use dark mode.
- `show_ui` (bool, default True): Whether to show the UI elements (toolbar, menu).
- `initial_data` (dict, optional): Initial data to load into the canvas.

## Return Value

The component returns a dictionary containing:

- `snapshot`: The current state of the canvas
- `type`: The type of event ('mounted' or 'document_change')

## Features

- **Infinite Canvas**: Create diagrams on an infinite canvas with pan and zoom.
- **Rich Tools**: Draw shapes, add text, create arrows, and more.
- **Styling Options**: Customize colors, line styles, and text formatting.
- **Real-time Data**: All changes are sent back to Streamlit in real-time.
- **Dark Mode**: Switch between light and dark themes.
- **Read-only Mode**: Display diagrams without allowing edits.
- **UI Visibility Control**: Show or hide the toolbar and menu.
- **Initial Data Loading**: Load pre-existing diagrams.

## What's New in v0.1.3

- Fixed issue with updates not being sent back to Streamlit
- Improved dark mode implementation
- Enhanced read-only mode functionality
- Fixed UI visibility toggle
- Better error handling and debugging
- Improved initial data loading

## Examples

Check out the included example.py for a full demonstration:

```bash
streamlit run path/to/streamlit_tldraw/example.py
```

Or try the simple test.py:

```bash
streamlit run path/to/streamlit_tldraw/test.py
```

## Development

For development instructions, see [DEV_README.md](DEV_README.md).

## License

MIT
nprxchange 0.1.1
Nepal Rastra Bank Currency Converter
Requires Python: >=3.6

# 💱 nprxchange

**nprxchange** is a modern and easy-to-use command-line tool that converts Nepali Rupees (NPR) to other major currencies using the official exchange rates published by the Nepal Rastra Bank (NRB).

It supports both interactive and non-interactive (direct CLI arguments) modes, with beautiful terminal output powered by [Rich](https://github.com/Textualize/rich).

---

## 📌 Features

- 🏦 Uses **official NRB exchange rates**
- 🌐 Works **online and offline** (uses cache if offline)
- 🎨 Clean and stylish CLI output using `rich`
- 📋 View available currencies and their codes
- 💬 Interactive currency selection using `InquirerPy`
- 🔁 Refresh latest exchange rates manually

---

## 🛠️ Installation

### 📦 Install via `pip`:
```bash
pip install nprxchange
```
### 🧪 Usage Examples:
```bash
# Show help
nprxchange --help

# View all supported currencies
nprxchange -v

# Convert 1000 NPR to USD directly
nprxchange -c 1000 -t USD

# Convert 5000 NPR to EUR with full command
nprxchange --convert 5000 --to-currency EUR

# Refresh latest exchange rates
nprxchange -r

# Launch interactive mode
nprxchange -i
```

### 🔍 Command Line Arguments

| Argument | Short | Description |
|----------|-------|-------------|
| `--view-currencies` | `-v` | View all available currencies with their codes |
| `--convert AMOUNT` | `-c AMOUNT` | Amount in NPR to convert to foreign currency |
| `--to-currency CODE` | `-t CODE` | Target currency code (e.g., USD, EUR, INR) |
| `--refresh` | `-r` | Force refresh rates from the NRB API |
| `--interactive` | `-i` | Launch interactive mode to select currency |

## 🧑‍💻 Contributing
Contributions are welcome! To contribute:
- Fork this repository
- Create your feature branch (git checkout -b feature-name)
- Commit your changes (git commit -m 'Add feature')
- Push to the branch (git push origin feature-name)
- Open a pull request

Please follow clean code practices and test your changes before submitting.

## License
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## 👤 Author
Name: Munal Poudel

Email: munalpoudel3@gmail.com

GitHub: github.com/munal777
ab-sdk 0.1.0
Add your description here
Requires Python: >=3.11

# AB SDK

AB SDK is a beginner-friendly **AI Agent SDK** designed to make creating and running AI-powered agents easier, with built-in tools like **Weather**, **Web Search**, and **Calculator**, powered by Gemini and other APIs.

## Features

- **Easy Setup:** Quick installation with minimal configuration.
- **Powerful Tools:** Built-in tools for weather, search, and calculations.
- **Gemini Integration:** Simplifies connecting and using Gemini for AI agents.
- **Modular & Extensible:** Add your custom tools or integrate with APIs.

## Installation

To install AB SDK, simply run:

```bash
pip install ab_sdk