Bereshit
bereshit is a Python game and 3D physics engine module designed to provide a lightweight scene, physics, rendering, and object management framework.
Features
- 3D vector and quaternion math (
Vector3,Quaternion) - Physics bodies and collision shapes (
Rigidbody,BoxCollider,MeshCollider) - Constraint joints (
FixedJoint,HingeJoint) - Scene and world management (
World,Physics) - Camera and rendering utilities (
Camera,MeshRander,render) - Raycasting and collision detection (
Raycast,Collision)
Installation
Install the required dependencies listed in requirements.txt:
pip install -r requirements.txt
Quick Start
Use bereshit by importing the package from the project root:
from bereshit import Object, Vector3, Core, Camera, BoxCollider, Rigidbody
from bereshit.addons.essentials import FPS_cam, CamController
cam = Object(position=Vector3(0, 0, -8)).add_component(Camera(), CamController(), FPS_cam())
floor = Object(size=Vector3(10,1,10), position=Vector3(0,-1,0)).add_component(BoxCollider(), Rigidbody(isKinematic=True))
obj2 = Object(position=Vector3(0,2,0)).add_component(BoxCollider(), Rigidbody())
Core.run([cam, floor, obj2])
core class
Vector3.pyandQuaternion.pyfor math utilitiesObject.pyfor scene objectsRigidbody.py,BoxCollider.pyfor simulation logicCamera.py,MeshRander.py,render.pyfor rendering
bereshit License
Copyright (c) 2026 yaly zak
1. Grant of License
Permission is hereby granted to any person obtaining a copy of this software and associated documentation files (the “Software”) to use, copy, modify, merge, publish, and distribute the Software for non-commercial purposes only, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- Any modifications to the Software must be clearly documented.
- Contributors agree that any submitted code may be used, modified, relicensed, or distributed by the project owner without restriction.
2. Non-Commercial Use
“Non-commercial use” includes:
- personal projects
- hobby projects
- educational use
- research
- open-source projects
- game jams
- non-profit projects
provided that no direct or indirect commercial advantage or monetary compensation is involved.
3. Commercial Use
Commercial use of the Software is prohibited without prior written permission from the copyright holder.
Commercial use includes, but is not limited to:
- selling games made with the Software
- monetized games or applications
- paid products or services using the Software
- enterprise/internal commercial tools
- SaaS or cloud-hosted products
- commercial publishing agreements
To obtain a commercial license, contact:
4. Contributions
By contributing code, documentation, assets, or other material to this project, you grant the project owner a perpetual, worldwide, non-exclusive, irrevocable right to use, modify, sublicense, and relicense your contributions in both open-source and commercial versions of the Software.
5. No Warranty
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM THE SOFTWARE OR THE USE OF THE SOFTWARE.
Metadata
Release files for bereshit 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bereshit-0.1.14.tar.gz | 89.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bereshit-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 189.7 kB
Release files / bereshit-0.1.14.tar.gz
| Download URL | bereshit-0.1.14.tar.gz |
|---|---|
| Size | 89.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
730133441ad2b65c1adacba6836cef505282ded7ffa0213726764ed2512e6335
|
|
BLAKE2b-256 checksum How to use checksums |
693c05d534c3beff10ff155702e8cb3adad11a9abcfcbd28f29df7f92753c6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Release files / bereshit-0.1.14-py3-none-any.whl
| Download URL | bereshit-0.1.14-py3-none-any.whl |
|---|---|
| Size | 99.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f7ab81141cb716700e53c6a03bb11916d39fafa38b4ccba76bc672ecab6fc78
|
|
BLAKE2b-256 checksum How to use checksums |
c285f152ae530e19e073ddfb93d518bfeae57f0e63863f53a34775f48909a188
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|