semvec/pypi-packages huggingface dataset:
mysql-editor-python 2024.6.24.1
A MySQL Editor
Requires Python: >=3.8

# MySQL Editor

This is a tool for viewing and editing MySQL databases written in Python.

# Instructions for Installing

+ Windows
    + ```py -m pip install mysql-editor-python```


+ Linux / macOS
    + ```pip install mysql-editor-python```

# Running the App

+ Windows
    + Run ```py -m mysql_editor``` in CMD.


+ Linux / macOS
    + Run ```python -m mysql_editor``` in the terminal.
cemirfw 20240624.1
AllInOne Framework for Python/PyPy

# cemirfw

# Install

```shell
sudo bash install.sh
```
```shell
cemirfw start
cemirfw stop
cemirfw restart
cemirfw disable
cemirfw status
```


## Sample endpoints
```python
from func_dbs import db_query, Tablo
from func_handlers import put, get, check_params


@put(r"/fiyat-guncelle", auth=False, redis_cache_params={"expire_time": 30, "key": "ip,useragent"})
async def putete(request, data):
    table = Tablo("test1")

    # ins_result = await table.insert(name="asd", blocked=True, content=data).execute()
    # upd_result = await table.update(blocked=True, name="asdasdasdasdasdasd").where(id=7).execute()

    # del_result = await table.where(id=15).delete()

    # sel_result = await table.select("*", fetchall=True).wherenot(name=["asd", "John", "Johdddddddddddddddddn"]).order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).wherenot(id=3).order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).wherenot(name="Johdddddddddddddddddn").order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).likenot(name="John").order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).likeew(name="hn").order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).likenotew(name="asd").order('id').asc().execute()
    # sel_result = await table.select("*", fetchall=True).likesw(name="Jo").order('id').asc().execute()
    sel_result = await table.select("*", fetchall=True).likenotsw(name="asd").order('id').asc().execute()
    # sel_result = await table.select("*").where(id=7).execute()
    return sel_result


@get(r"/pi", redis_cache_params={"expire_time": 3, "key": "ip,useragent"})
@check_params(["id"])
async def get_pi(request):
    id = request.params("id")
    # return await db_query("SELECT content FROM accounting__customer_proforma_invoices where id=%s;", id, False, 2, "proformainvoices")
    return await db_query("SELECT content FROM test1 where id in (1,2,3,4);", id, True, 2, "proformainvoices")

```
dobby-storage 1.0.2
A package for handling various storage options.
Requires Python: >=3.6

# dobby-storage

https://github.com/Ting-Yu/dobby-storage.git

## S3 Information

- CUSTOM_AWS_ACCESS_KEY_ID
- CUSTOM_AWS_SECRET_ACCESS_KEY
- CUSTOM_AWS_DEFAULT_REGION
- CUSTOM_AWS_BUCKET
-

## FTP Information

- CUSTOM_FTP_SERVER
- CUSTOM_FTP_USER
- CUSTOM_FTP_PASSWORD
-

## Google Drive Information

- CUSTOM_GOOGLE_DRIVE_AUTH_PATH


## Install Module

```bash
pip install dobby-storage
```

## Unit Test
    
```bash
pytest
```

## Usage

```python
from dobby_storage.storage import FileStorage

# if you want to use storage.json, please refer to dobby_storage/storage.json
# but I still recommend you to set it up in os system environment, the setting is as above, S3 Information, FTP Information, Google Drive Information
file_storage = FileStorage('storage.json')

# 1. Local storage
result = file_storage.save('upload_test.txt', 'destination.txt')
print(f"Local storage File {result}.")

# 2. Using S3 storage with upload_file
file_storage.use_disk('s3')
result = file_storage.save('upload_test.txt', 'destination.txt', bucket_name='fribooker')
print(f"S3 storage with upload_file File {result}.")

# 3. Using S3 storage with upload_fileobj
result = file_storage.save('upload_test.txt', 'destination.txt', bucket_name='fribooker', use_fileobj=True)
print(f"S3 storage with upload_fileobj File {result}.")

# 4. Using FTP storage
file_storage.use_disk('ftp')
result = file_storage.save('upload_test.txt', 'destination.txt')
print(f"FTP storage File {result}.")

# 5. Using Google Drive storage
file_storage.use_disk('google_drive')
result = file_storage.save('upload_test.txt')
print(f"Google Drive storage File {result}.")
```