github.com/kyegomez/swarms is a Python library for simulating particle swarms and flocking behaviour. It provides a simple API for creating swarms of particles that follow basic flocking rules like separation, alignment, and cohesion.
Being an open-source project hosted on GitHub, the swarms library is completely free to use and does not have any paid subscriptions.