pyeventsourcing / eventsourcing-django Goto Github PK
View Code? Open in Web Editor NEWPython package for eventsourcing with Django
License: BSD 3-Clause "New" or "Revised" License
Python package for eventsourcing with Django
License: BSD 3-Clause "New" or "Revised" License
Since I struggled a bit with configuring persistence in Django, I was considering submitting a pull request to improve the documentation for Django integration. I found that if you create an Application object directly in a view or other file in the Django app, the migrations may not be executed yet, which can cause issues. However, I think I figured out the correct way to set it up so that these issues can be avoided.
Let me know if you want PR about this.
Dear @johnbywater, and other maintainers. wonderful project and i work with it daily.
I needed help understanding if there is a built in solution for creating a view off of events.
we display our events in a list format for debugging and other senerios like so:
def get_events(
self, event_type: Aggragate.Event | UnionType | None = None
) -> list[Aggragate.Event]:
my_agg = self.aggragate
if not my_agg:
return []
return [
event
for event in self.application.events.get(originator_id=my_agg.id)
if event_type is None or isinstance(event, event_type)
]
however, was wondering if there are some suggestions on
goes without say, wonderful project and much appreciate all the love and hard work that went into it.
Hi,
Well done for this great project.
I would like to request for a working examples of complete project, this would help greatly in understanding fully how the project is implemented in django
Many thanks in advance
Hi! I'm new to eventsourcing. The Readme says "This package supports using the Python eventsourcing library with Django ORM." Could you provide examples of how this works together with the ORM? So far it seems to me that eventsourcing stuff is separate from Django ORM and this package just helps with setting up the runner inside of Django. Isn't eventsourcing a totally different model from Django ORM? How would you use models and perhaps DRF-style serializers/viewsets with this?
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.