Python

!python

@lemmy.ml
Create post
Installing gunicorn once on the OS and reuse it between venv ?

Installing gunicorn once on the OS and reuse it between venv ?

cross-posted from: https://programming.dev/post/17866168

Hi,

I use gunicorn in my venv

I have quite few venv that run gunicorn.

I would like to reuse gunicorn for other venv

I launch my web application like this

#PWD = venv dir
source ./bin/activate
gunicorn A_WebApp:app
#A_WebApp is my python file A_WebApp.py

I supposes that gunicorn is a shell program ? if yes I should use $PATH ?
or gunicorn is a Python program only ? and then what I should do to use gunicorn in another venv ?

Thanks.

Do you know a CCTV software write in Python ?

Do you know a CCTV software write in Python ?

Hi,

I'm looking for a software similar to ZoneMinder
https://lemmy.ml/post/18530232

But it seem that ZoneMinder become slowly outdated, php etc..

I've found a couples of alternatives ( hard choice as the limitations of use are often buried deep )

It seem that openCV is really famous for AI Computer vision, So I would be surprise if there were no Python program to manage cameras like a ZoneMinder !?

Do you know any ?

Thanks.

A library for creating fully typed declarative API clients quickly and easily

A library for creating fully typed declarative API clients quickly and easily

Open link in next tab

GitHub - martinn/quickapiclient: A library for creating fully typed declarative API clients quickly and easily.

https://github.com/martinn/quickapiclient

A library for creating fully typed declarative API clients quickly and easily. - martinn/quickapiclient

GitHub - martinn/quickapiclient: A library for creating fully typed declarative API clients quickly and easily.
Testing with Python (part 1): the basics

Testing with Python (part 1): the basics

Open link in next tab

Testing with Python (part 1): the basics

https://www.bitecode.dev/p/testing-with-python-part-1-the-basics

Tautology, the masterclass

Testing with Python (part 1): the basics
Announcing py2wasm: A Python to Wasm compiler

Announcing py2wasm: A Python to Wasm compiler

Open link in next tab

Announcing py2wasm: A Python to Wasm compiler · Blog · Wasmer

https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler

py2wasm converts your Python programs to WebAssembly, running them at 3x faster speeds

Announcing py2wasm: A Python to Wasm compiler · Blog · Wasmer
Lightning Talk: Write Valid C++ and Python in One File - Roth Michaels - CppCon 2023

Lightning Talk: Write Valid C++ and Python in One File - Roth Michaels - CppCon 2023

Open link in next tab

Lightning Talk: Write Valid C++ and Python in One File - Roth Michaels - CppCon 2023

https://www.youtube.com/watch?v=GXwYjI9cJd0

https://cppcon.org/---Lightning Talk: Write Valid C++ and Python in One File - Roth Michaels - CppCon 2023https://github.com/CppCon/CppCon2023A demo of a nea...

PEP 744 – JIT Compilation

PEP 744 – JIT Compilation

Open link in next tab

PEP 744 – JIT Compilation | peps.python.org

https://peps.python.org/pep-0744/

Python Enhancement Proposals (PEPs)

PEP 744 – JIT Compilation | peps.python.org
LPython 0.21 Released For Alpha-Stage Python AOT Compiler

LPython 0.21 Released For Alpha-Stage Python AOT Compiler

Open link in next tab

LPython 0.21 Released For Alpha-Stage Python AOT Compiler

https://www.phoronix.com/news/LPython-0.21-Released

LPython 0.21 Released For Alpha-Stage Python AOT Compiler
Python IDLE: A Comprehensive Guide for Beginners

Python IDLE: A Comprehensive Guide for Beginners

Help with a python script to control my lights?

Help with a python script to control my lights?

Open link in next tab

[Example request] The most basic way to turn an individual, specific light on and off · Issue #185 · mclarkk/lifxlan

https://github.com/mclarkk/lifxlan/issues/185

I've been struggling with this for hours, i'm not a python dev, i'm just trying to control my lights with my linux pc #!/usr/bin/env python import sys from lifxlan import LifxLAN def main (): lan =...

[Example request] The most basic way to turn an individual, specific light on and off · Issue #185 · mclarkk/lifxlan