python-lib
laravel-websockets-example
Our great sponsors
python-lib | laravel-websockets-example | |
---|---|---|
1 | 5 | |
159 | 21 | |
- | - | |
5.8 | 0.0 | |
3 months ago | over 3 years ago | |
Python | PHP | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-lib
-
How to make a Python package in 2021
I have a cookiecutter template for this at https://github.com/simonw/python-lib (also click-app and datasette-plugin)
It sets up GitHub actions for publishing the package to PyPI when you create a release on GitHub - which I find way to be a really productive way of working.
laravel-websockets-example
-
Bash functions are better than I thought
I do the same thing, but slightly differently. https://github.com/francislavoie/laravel-websockets-example/...
- Laravel Websockets + apache2 + docker
-
How to make a Python package in 2021
I rather just write a bash script. It's the lowest common denominator. Make may not be installed by default in many places and it has some weird syntax quirks that make it annoying to use IMO.
Here's an example of how I like to do my "bash scripts that sorta work like make": https://github.com/francislavoie/laravel-websockets-example/... basically each function is a "command", so I do like "./utils start" or whatever.
-
Sail for production?
This is an example repo I built a little while ago which outlines how I like to structure my Laravel projects for Docker: https://github.com/francislavoie/laravel-websockets-example
-
Creating Docker container for PHP scripts
I wrote up my own version of what a docker stack looks like as an example repo a few months ago, I wanted to give Laravel Sail a spin but I found that it really wasn't that good; no path to transitioning to running on prod with that setup, no easy local HTTPS support, etc. Here it is: https://github.com/francislavoie/laravel-websockets-example
What are some alternatives?
flit - Simplified packaging of Python modules
caddy-docker - Source for the official Caddy v2 Docker Image
vscode-python - Python extension for Visual Studio Code
docker-images-php - A set of PHP Docker images
sampleproject - A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects"
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
pip - The Python package installer
yew - Rust / Wasm framework for creating reliable and efficient web applications
myproject
python-template - A simple template Python repository which describes a workflow and set of tools, to make group projects more manageable