build
janet
Our great sponsors
build | janet | |
---|---|---|
7 | 78 | |
652 | 3,290 | |
3.1% | 1.1% | |
9.2 | 9.4 | |
9 days ago | 24 days ago | |
Python | C | |
MIT 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.
build
-
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
-
"Even with --dry-run pip will execute arbitrary code found in the package's setup.py. In fact, merely asking pip to download a package can execute arbitrary code"
RE the dislike of a "third-party tool", what do you mean by this? All the major tools for packaging in Python are under the PyPA, e.g. - twine - build - hatch
-
'Python: Please stop screwing over Linux distros'
building wheels/sdists to upload or install: build
-
An Interactive Cheat Sheet That Just Gives You The Answer
python3 setup.py sdist bdist_wheel - no need for an sdist when building wheels, also I'd recommend using pypa/build instead.
-
How to Structure a Python AWS Serverless Project
The first step is to turn the internal package into a wheel (a *.whl file). We can use the build tool for this purpose. After installing build with pip we can run it as follows:
-
The future of Python build systems and Gentoo
Shouldn't https://github.com/pypa/build help? I don't think it has enough features yet but I was under the impression that was the distro solution.
janet
-
Babashka: Fast native Clojure scripting runtime
I like Clojure, but I never had any good opportunities to use it other than for a few small hobby projects. It is unfortunate that it is so huge with tons of dependencies and no simpler native implementation. I started looking at various LISPs and Schemes to find something lighter to use instead and ended up settling for Janet that I think is Clojure-like enough to be comfortable to use, but in a small native binary with no dependencies and can be embedded in other native programs. I am sure for big, real, projects that Clojure makes more sense, but for my hobby projects and scripts I do not think I will install it again. I am still happy for the things I learned from learning Clojure. It was a real eye-opener for an old OO-programmer.
- Why Fennel?
- Embeddable Common Lisp 23.9.9
-
Sharpscript: Lisp for Scripting
One might also check out Janet for quick scripting tasks.
-
Red Programming Language
Thanks!
I thought about another multiplatform, homoiconic, highly compact language: https://janet-lang.org/ (takes 803 kb on my machine).
It has no types though.
-
Systems Programming with Racket
Racket is great, and if you like it you might find Rash interesting:
Janet and Gerbil Scheme are also worth a look:
-
fe: A tiny, embeddable language implemented in ANSI C
If this project interests you but is a bit more minimal than you need, the Janet language is a slightly-less but still pretty lightweight embeddable Lisp with a strong library and community: https://janet-lang.org/
-
Sharing Saturday #461
Scripting language of choice for WWWW became Janet. Technically, it's Lisp. Raw Lisp still adds plenty of overhead, making it not much better than JSON. That's when WDL was born.
- Administrative Scripting with Julia
-
Are there smaller Clojure-esque Lisps available ?
But you can try Janet for fun https://janet-lang.org/
What are some alternatives?
Fennel - Lua Lisp Language
get-started-with-clojure - Learn Clojure and Interactive Programming – Zero install
babashka - Native, fast starting Clojure interpreter for scripting
scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp
ferret - Ferret is a free software lisp implementation for real time embedded control systems.
kaboom.js - 💥 JavaScript game library
fennel-cljlib - Port of clojure.core namespace to Fennel (mirror)
rlua - High level Lua bindings to Rust
joker - Small Clojure interpreter, linter and formatter.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
mun - Source code for the Mun language and runtime.
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11