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.4.tar.gz (59.9 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.4-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hpe-2.3.4.tar.gz
  • Upload date:
  • Size: 59.9 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.4.tar.gz
Algorithm Hash digest
SHA256 b95060c1217f8d524d71f64b54417f54a1de603528b6d92fb3a05a850a015703
MD5 e2b6361360e9db43bbd0f0ad93ecb823
BLAKE2b-256 e226d34f300108957c2557f8a41e5e75a77a3be6f8e563d35fc374c4b7cc0676

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpe-2.3.4-py3-none-any.whl
  • Upload date:
  • Size: 57.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f75106836e2cb8674b4ac35d444068168db2085c6f3be3a0c5a1d37106f1f53
MD5 80137a61831f0b68b423648926282c6a
BLAKE2b-256 f153679be328190c4bb64712eddb6f7cb5fffa7801e4c9782ed3b69e081b68c1

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