The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 19 Python Metaprogramming Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
GAS
Generative Art Synthesizer - a python program that generates python programs that generates generative art
-
TransGatacca
A DNA to Protein [Reverse] Translator implemented in Aarch64/AMD64 Assembly languages, with interface in C, Rust, and Python
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Ask HN: How can I get better at writing production-level Python? | news.ycombinator.com | 2023-07-18Yeah, reading the Fluent Python book[1] and / or following along with their support files[2] would a good way to start
[1] https://amzn.to/3J48u2J
[2] https://github.com/fluentpython/example-code-2e
Project mention: What is the point of the if __name__ == "__main__":, i.e. why use a file as both script and module? | /r/learnpython | 2023-06-26The Lissp transpiler incrementally compiles and executes each top-level form to Python. It needs to do this in case there's a macro definition that might affect the compilation of a subsequent form. If it's only executing definitions, this is harmless, but if you want to precompile the main module, it needs the guard, or the side effects will happen too.
Project mention: Show HN: Metashade – a Pythonic GPU shading/compute EDSL | news.ycombinator.com | 2024-04-21Thanks!
Multiple targets is definitely the plan, and GLSL is my next priority. Metashade can currently generate HLSL for the DX12 version of https://github.com/ppenenko/glTFSample/tree/metashade_demo, and there's also a Vulkan version of that demo using GLSL. So implementing GLSL generation for that would be a great proof of concept and a test bed: HLSL and GLSL generated from single source and producing identical rendering results.
The diagram on slide 31 of my presentation shows how implementation is currently inherited between the Metashade packages. The future GLSL generators should inherit common functionality from the "rtsl" package, just like the existing HLSL generators. However, I expect heavy refactoring to be necessary because I was initially targeting just one language and so not all code is implemented at the appropriate level.
BTW, here's a poll where you can vote for a target language you'd like to see prioritized: https://github.com/ppenenko/metashade/discussions/17
Python Metaprogramming related posts
- Show HN: Metashade – a Pythonic GPU shading/compute EDSL
- A dialect of Lisp that's embedded in Python
- Hylang, a Lisp dialect embedded in Python
- Hissp
- Hy
- Ask HN: Is SICP/HtDP still worth reading in 2023? Any alternatives?
- What is the point of the if __name__ == "__main__":, i.e. why use a file as both script and module?
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source Metaprogramming projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | hy | 4,772 |
2 | example-code-2e | 2,916 |
3 | decorator | 811 |
4 | context_menu | 444 |
5 | hissp | 331 |
6 | linqit | 245 |
7 | fypp | 178 |
8 | pyccolo | 84 |
9 | dataclassy | 79 |
10 | GAS | 52 |
11 | reflecxx | 52 |
12 | mcpyrate | 51 |
13 | smart-imports | 38 |
14 | paroxython | 33 |
15 | hebigo | 21 |
16 | metashade | 20 |
17 | decfunc | 5 |
18 | TransGatacca | 2 |
19 | forge | 0 |
Sponsored