semvec/pypi-packages huggingface dataset:
flet-navigator 3.10.11
⚡⚓ Minimalist, fast, and effective navigation/routing library for Flet applications.
License: MIT
Requires Python: >=3.9

<h1 align="center"><b>⚓ FletNavigator V3</b></h1>
<p align="center"><img src="https://img.shields.io/badge/V3.10.11-880808?style=for-the-badge&logo=flutter&logoColor=white" width=117>
<img src="https://img.shields.io/badge/Python%203.9%2B-880808?style=for-the-badge&logo=python&logoColor=white" width=151>
<img src="https://img.shields.io/badge/Awesome%20Flet-880808?style=for-the-badge&logo=styledcomponents&logoColor=white&logoSize=auto" width=185></p>

<p align="center"><b>FletNavigator is a thorough navigation/routing module for the Flet framework that combines speed, simplicity, and efficiency. Features like cross-page arguments, URL parameters, templates, external routes, utilities & decorators, and more are present in FletNavigator! Install it and try it for yourself!</b></p>

<p align="center"><b>Copy&Paste into your terminal: <code>pip install <a href="https://pypi.org/project/flet-navigator/">flet_navigator</a></code></b></p>

<p align="center"><img src="https://github.com/xzripper/flet_navigator/blob/main/mini.gif?raw=true"></p>

<b>

```python
from flet import app, Text, FilledButton

from flet_navigator import RouteContext, route, fn_process


@route('/')
def main(ctx: RouteContext) -> None:
    ctx.add(Text('Hello World!'))

    ctx.add(FilledButton('Navigate to the second page!', on_click=lambda _: ctx.navigate('second')))

@route
def second(ctx: RouteContext) -> None:
    ctx.add(Text('I am the second page!'))

    ctx.add(FilledButton('Return to the homepage!', on_click=lambda _: ctx.navigate_homepage()))

app(fn_process())
```
</b>

<p align="center"><a href="https://xzripper.github.io/flet_navigator"><b>→ Read the official web API documentation.</b></a></p>

<hr><p align="center"><b>FletNavigator 2025</b></p>
Auto-connect-mongo 0.0.8
A python package for connecting with database.
License: MIT
Requires Python: >=3.7

# Auto_connect_mongo

A Python package for connecting to MongoDB and performing basic CRUD operations.

---

## Installation

```bash
pip install Auto_connect_mongo
```
Or, to install from source:
```bash
git clone https://github.com/AnandVadgama/my-py-package.git
cd my-py-package
pip install -r requirements.txt
```

---

## Usage

### Connect to MongoDB

```python
from Auto_connect_mongo.mongo_crud import mongo_operation

client_url = "mongodb+srv://<username>:<password>@cluster0.mongodb.net/"
database_name = "my_database"
collection_name = "my_collection"

mongo_op = mongo_operation(client_url, database_name, collection_name)
```

### Insert a Record

```python
record = {"name": "Alice", "age": 30}
mongo_op.insert_record(record, collection_name)
```

### Find Records

```python
query = {"age": {"$gt": 25}}
results = mongo_op.find_record(query, collection_name)
for doc in results:
    print(doc)
```

### Update a Record

```python
query = {"name": "Alice"}
update = {"$set": {"age": 31}}
mongo_op.update_record(query, update, collection_name)
```

### Delete a Record

```python
query = {"name": "Alice"}
mongo_op.delete_record(query, collection_name)
```

---

## Requirements

- Python 3.7+
- MongoDB instance (local or Atlas)

---

## Testing

```bash
pip install -r requirements_dev.txt
pytest
```

---

For more details, see the source code or open an issue on GitHub.