textcase — универсальная библиотека для конвертации текста между разными стилями в Python.
from textcase import case, convert
convert("ronnie-james-dio", case.PASCAL) # RonnieJamesDio
convert("RONNIE-JAMES-DIO", case.CAMEL) # ronnieJamesDio
#Python #textcase #DevTools #PythonTips #SnakeCase #CamelCase #PascalCase #KebabCase #CodeStyle #PyPI #Acronyms #OpenSource #PythonLibrary
https://github.com/zobweyt/textcase
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - zobweyt/textcase: Python library for text case conversions (https://pypi.org/project/textcase)
Python library for text case conversions (https://pypi.org/project/textcase) - zobweyt/textcase
1👎3👍2🔥2
Samps — современная, безопасная и лёгкая Python-библиотека для работы с последовательным портом (serial port) без внешних зависимостей!
from samps import SerialCommonInterface as Serial
with Serial(port="/dev/tty.usbserial-0001", baudrate=9600) as serial:
print("Порт открыт?", "Да" if serial.is_open() else "Нет")
line = serial.readline()
print(line.decode("utf-8").strip())
print("Порт закрыт")
#Python #SerialPort #samps #AsyncIO #DevTools #PythonLibrary #SerialCommunication #Программирование #PythonDev #OpenSource #TechTools
https://github.com/michealroberts/samps
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - michealroberts/samps: Modern, type-safe, zero-dependency Python library for serial port I/O access
Modern, type-safe, zero-dependency Python library for serial port I/O access - michealroberts/samps
2🔥4 3
gemimg — это лёгкая (<400 строк кода) Python-библиотека для работы с Google Gemini 2.5 Flash Image (Nano Banana).
from gemimg import GemImg
g = GemImg(api_key="AI...")
gen = g.generate("A kitten with purple and green fur.")
pip install gemimg
#Python #Gemini #GeminiAPI #AIImage #NanoBanana #ImageGeneration #Gemimg #GoogleAI #PythonLibrary #AIArt #PromptEngineering #OpenSource
https://github.com/minimaxir/gemimg
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - minimaxir/gemimg: Lightweight wrapper for generating and editing images from Gemini 2.5 Flash Image/Nano Banana
Lightweight wrapper for generating and editing images from Gemini 2.5 Flash Image/Nano Banana - minimaxir/gemimg
1⚡3👍3
Archimedes — это open-source фреймворк на Python, созданный для того, чтобы переносить управляющие алгоритмы прямо на реальное оборудование. Он объединяет в себе моделирование, симуляцию, оптимизацию и генерацию C-кода — всё, что нужно для полного цикла разработки систем управления.
#python #casadi #embedded #controlsystems #numerics #autodiff #opensource #archimedes #pythonlibrary #engineering #robotics #optimization #coding #tech
https://pinetreelabs.github.io/archimedes/index.html
Please open Telegram to view this post
VIEW IN TELEGRAM
1 3👍2⚡1