flit
laravel-websockets-example
Our great sponsors
flit | laravel-websockets-example | |
---|---|---|
6 | 5 | |
2,093 | 21 | |
0.9% | - | |
6.4 | 0.0 | |
about 1 month ago | over 3 years ago | |
Python | PHP | |
BSD 3-clause "New" or "Revised" License | 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.
flit
-
Show HN: Code Indexer Loop
Queries on https://github.com/pypa/flit/tree/main/flit_core/flit_core (omitted tests/)
(Pdb) print(indexer.query("def normalize_dist_name(name: str, version: str) -> str:"))
-
Underappreciated Challenges with Python Packaging
If it's pure Python, the only packaging file you need is `pyproject.toml`. You can fill that file with packaging metadata per PEP 518 and PEP 621, including using modern build tooling like flit[1] for the build backend and build[2] for the frontend.
With that, you entire package build (for all distribution types) should be reducible to `python -m build`. Here's an example of a full project doing everything with just `pyproject.toml`[3] (FD: my project).
[1]: https://github.com/pypa/flit
-
Easy Packing and Publishing to PyPi with Flit, pytest, and Circleci
I published a very simple project flit_pytest_circleci_template that uses: * [flit](https://github.com/pypa/flit) to build a package. * pytest to test it * circleci to run the above and publish the package to pypi whenever a source file is committed. This is the hard part IMO as I do not know circleci well (and didn't know it at all when I started this project).
- Python un-updatable, suggestions?
-
Comparison of Python TOML parser libraries
flit
-
How to make a Python package in 2021
I hadn't heard of flit, it does seem like it's not brand new on the scene, however it is primarily a single contributor:
https://github.com/takluyver/flit/graphs/contributors
With a title like this, I'd be expecting to see an article describing the latest tools and recommendations from the PyPA.
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?
Poetry - Python packaging and dependency management made easy
caddy-docker - Source for the official Caddy v2 Docker Image
pip - The Python package installer
docker-images-php - A set of PHP Docker images
Pipenv - Python Development Workflow for Humans.
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
tomli - A lil' TOML parser
yew - Rust / Wasm framework for creating reliable and efficient web applications
python-lib - Opinionated cookiecutter template for creating a new Python library
vscode-python - Python extension for Visual Studio Code
virtualenv - Virtual Python Environment builder
stripe-jobs-cli