jordan-cottle / events Goto Github PK
View Code? Open in Web Editor NEWA simple event system for using as a component in larger systems
License: MIT License
A simple event system for using as a component in larger systems
License: MIT License
Without being able to pip install
this easily, it's not very useful to anyone.
Sure, someone can always install it directly from the github url or a local clone, but that's annoying to do.
A class to handle firing events that are received by a registered handler on another machine would be incredibly useful.
This will likely need to be broken down into multiple pieces to work on. There needs to either be a central server to route the events to the handlers or some kind of common configuration so the firing instances can connect to all the handlers and deliver the messages in a more peer too peer style.
A central server is likely easier to implement and easier to set up (only need a single url/ip in a config somewhere), built potentially harder to scale.
Sometimes the event we want to trigger is based on time. Currently you could create your own loop that fires a custom event every few seconds, but this seems like a common enough use case to provide a default implementation for.
The local scripts are nice, but they still need to be run manually.
The tests don't generate code coverage yet.
An asyncio
compatibly version of the Event
class would be nice. Especially for event handlers that do more complex tasks that involve network requests.
All the cool projects have them.
pyproject.toml
says project should work with python 3.6.2
or greater. All dev was done with 3.9
so it'd be nice to ensure that the range of python versions this project claims to support are actually supported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.