Skip to main content

logo Hamid Py Engine (HPE)

PyPI Version
Python Versions
PyPI Downloads
PyPI Downloads Monthly
License
Last Commit
Repo Size
Issues
Forks
Stars

✨ A lightweight 3D Game engine purely made in python!

About HPE: The High-Performance Python Engine for 3D World Creation

HPE is a powerful, feature-rich 3D game engine built entirely in Python. It's designed for creators and developers looking to craft ambitious 3D worlds with the simplicity and speed of Python. HPE bridges the gap between simple rendering libraries and complex professional software by providing a complete, Unity-style visual editor, allowing you to build, test, and iterate on your games in real-time.

From dynamic skies to sculptable terrain, HPE provides the tools to bring your vision to life.


Key Capabilities 🚀

  • 🧑‍💻 Integrated Visual Editor: A full suite of tools at your fingertips, including a scene hierarchy, a real-time properties inspector for selected objects, a console, and interactive 3D transformation gizmos (translate/rotate).

  • 🎨 Advanced Rendering Pipeline:

    • Procedural Sky & Animated Clouds: Generate beautiful, dynamic skies with real-time animated clouds and customizable sun, halo, and fog colors.
    • Modern Model Support: Seamlessly import industry-standard GLTF and GLB models into your scene.
    • High-Quality Visuals: Features a robust rendering pipeline with dynamic lighting, shadow effects, and HBAO-like ambient occlusion for creating immersive environments.
  • 🌍 Powerful World-Building Tools:

    • Real-Time Terrain Editor: Create vast landscapes and sculpt them directly within the editor.
    • Intuitive Sculpting: Raise, lower, and smooth your terrain with an adjustable brush size and strength.
    • 3D Primitives & Enemies: Instantly add and manipulate basic shapes like cubes, spheres, and capsules, or spawn pre-configured enemies for your game.
  • ⚙️ Physics and Interactivity:

    • Built-in Physics Engine: Simulate realistic interactions with support for Static and RigidBody physics.
    • FPS Controller Mode: Jump directly into your game with a "Play" button that activates a first-person controller for in-engine testing.
    • Scripting Support: Attach custom .blob script files to any object to define unique behaviors and game logic.
  • 🔧 Efficient and Extensible Workflow:

    • Full Scene Serialization: Save and load your entire scenes, including all objects, components, terrain heightmaps, and environment settings, with the portable .hamidmap format.
    • Performance Optimized: Leverages Numba for JIT-compiled physics calculations and multithreading for smooth asset loading and processing.

Whether you're prototyping a new game idea, building stunningly detailed environments, or learning the fundamentals of 3D development, HPE provides a powerful and intuitive platform. Dive into the future of Python game development and start creating your world today!

Minimum System

Cpu core i5 8th gen

Ram: 8 gb

Graphic Card: 8 gb vram

Memory Needed: 512 MB ~ 700 MB


HPE Screenshot 1 HPE Screenshot 2


📦 Installation

pip install hpe

⚙️ Add Scripts Path to PATH (Windows)

If the hpe command is not recognized:

  1. Locate your Scripts path:

    C:\Users\<YourName>\AppData\Roaming\Python\Python313\Scripts
    

    Replace <YourName> with your actual Windows username.

  2. Add to PATH:

    • Press Win + R, run sysdm.cpl
    • Go to Advanced tab > Environment Variables
    • Under User variables, select Path > Edit > New > paste the path
    • Click OK on all windows and restart your terminal

🚀 Usage

Command Description
hpe / hpe help Show help message
hpe run Run the main HPE code
hpe get Copy hpe.py to current directory

🧪 Examples

hpe
hpe run

Output:

Hello from hpe!
This is the main hpe code.
hpe get

Output:

hpe.py copied to: /current/directory/hpe.py

Metadata

Release files for hpe 2.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hpe 2.3.5
File Size Uploaded
hpe-2.3.5.tar.gz 63.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hpe 2.3.5
File Interpreter ABI Platform
hpe-2.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 125.2 kB

Release files / hpe-2.3.5.tar.gz

Download URL hpe-2.3.5.tar.gz
Size 63.8 kB
Tags Source
SHA-256 checksum
How to use checksums
81a2f1f67f828eb42d9f14b8f991ad4d67bc2e54f8f49819fdc5fbf41e5514fc
BLAKE2b-256 checksum
How to use checksums
3e9d8ebd9f7c1783c0e49d844dc19889f8f050714ee8de86a4fedc8715742325
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / hpe-2.3.5-py3-none-any.whl

Download URL hpe-2.3.5-py3-none-any.whl
Size 61.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
082f8a5fce25e3b777d507e5874bdf6edfb693e24ce41eaac0d782859a8a1ceb
BLAKE2b-256 checksum
How to use checksums
b3975defbe4d516a0ebf05f0ffdea27a052ff7b2a78e73b239048de4a33a739e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

2.3.5 This release

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.2.95

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page