Skip to main content

Hamid Py Engine

Project description

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!

[!Note] Fixed TERRAIN EDITOR ( TERRAIN EDITOR had been added with more set of tools. )

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hpe-2.3.5.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hpe-2.3.5-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

Details for the file hpe-2.3.5.tar.gz.

File metadata

  • Download URL: hpe-2.3.5.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpe-2.3.5.tar.gz
Algorithm Hash digest
SHA256 81a2f1f67f828eb42d9f14b8f991ad4d67bc2e54f8f49819fdc5fbf41e5514fc
MD5 5320661c2ba7941f37c1d597a45fc580
BLAKE2b-256 3e9d8ebd9f7c1783c0e49d844dc19889f8f050714ee8de86a4fedc8715742325

See more details on using hashes here.

File details

Details for the file hpe-2.3.5-py3-none-any.whl.

File metadata

  • Download URL: hpe-2.3.5-py3-none-any.whl
  • Upload date:
  • Size: 61.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpe-2.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 082f8a5fce25e3b777d507e5874bdf6edfb693e24ce41eaac0d782859a8a1ceb
MD5 afe49b2f9ca7adcb859db23da2f3d978
BLAKE2b-256 b3975defbe4d516a0ebf05f0ffdea27a052ff7b2a78e73b239048de4a33a739e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page