799 results for python · 3.007s

News for “python”
20 results • 3000 ms server time
Virginia teacher and firefighters feud over whether a python started schoolhouse fireIMAGE
theguardian.com• Aug 18, 2026• 1 min read
Virginia teacher and firefighters feud over whether a python started schoolhouse fireAuthorities blamed Nanner for knocking over a heat fixture, but Brittany Jacobs contends it was trying to escape blazeThe snake didn’t start the fire. So says a Virginia science teacher who owns a python that was found outside its enclosure in a middle school classroom that caught fire recently.Authorities, meanwhile, have publicly blamed the fire on the snake, named Nanner, alleging the python kn...
Show HN: MicroECS – entity component system library in Python/NumPyIMAGE
github.com• Jun 12, 2026• 1 min read
Show HN: MicroECS – entity component system library in Python/NumPyHi, in the last ~month I've learned a lot about ECS [1,2].I'm currently developing a robotics simulator from scratch (python+raylib) and, due to lack of game dev experience I went "full OOP" on it. A SceneObject with a lot of inherited interfaces (e.g. Collidable, Movable etc.). These are inherited and fixed at run time.The main loop inevitably became: for scene_object in sim.scene_objects: scene_object.update(...) for scene_object in sim.scene_objects: scene_object.draw(...) Well, it turns out that this can become a bottleneck if you have many scene objects because computers love contiguous memory for caching, physics/math vectorization and so on.Having recently learned more about ECS[1,2], I started doing a bunch of experiments in a sandbox with turning the update() function into ECS. The idea is that the data is stored in columnar numpy arrays (components) + a lot of data structure optimizations for querying scene objects and fast access e.g. qr = scene.query(HasMotion, HasPosition)
Advertisement
2024 Software of the Year Award Co-Winner -Prognostics Python Packages (ProgPy)IMAGE
nasa.gov• Jul 31, 2024• 1 min read
2024 Software of the Year Award Co-Winner -Prognostics Python Packages (ProgPy)NASA Ames Research Center: ProgPy is an open-source Python package supporting research and development of prognostics, health management, and predictive maintenance tools. Prognostics is the science of prediction, and the field of Prognostics and Health Management (PHM) aims at estimating the current physical health of a system (e.g., motor, battery, etc.) and predicting how the […]
Moozonian News
github.com• 2d ago• 1 min read
Show HN: fake-bpy-module – Blender/UPBGE Python autocompletion for external IDEsI wanted to share fake-bpy-module, a collection of fake Blender Python API stubs designed to enable code auto-completion and type hinting in external IDEs like VSCode. I have been maintaining this open-source project for over 8 years, tracking Blender's active ecosystem from Blender version 2.78 to 5.2+.-- The Pain Point for Development in Blender Python --Blender does not expose its Python API (bpy) as standard Python files outside of its built-in text editor. This makes add-on development in external IDEs tedious and prone to type errors.-- Solution & How it Works --Instead of relying on the starndard inspect module which often fails to handle edge cases in Blender's dynamic environment. fake-bpy-module parses the official Blender Python API documentation to generate .pyi stub files.Of course, documentation parsing comes with its own challenges. Some APIs are undocumented, and others cannot be used as-is (such as the bpy_prop_collection class). To address this, the generator internal
Moozonian News
dblift.com• 3d ago• 1 min read
Show HN: DBLift – database migration management for Python teamsI’ve been working for a while on DBLift, an open-source database migration toolkit for Python teams. DBLift follows the same model flyway does with the same main commands and the same history table structure making it easy to switch from one to the other with the import_flyway command.By default DBLift is out of order meaning that any unapplied migration is eligible to be applied contrary to flyway which refuse to apply any migration with a lower version until you force it. You can still apply the original flyway model you can still opt-in with the —strict flag. https://docs.dblift.com/migrations-versioningThe main difference is the runtime, No JVM. If you already work in python DBLift integrates with your existing tooling: pip, sqlalchemy, Django, Flask…Honest feedback welcome — especially if you're currently using Flyway on a Python project and it works fine, I'd like to understand what I'm missing. GitHub: https://github.com/dblift/dblift Docs: https://docs.dblift.com Move from Flyw
Advertisement
Advertisement