Pythonic feel
Use def, indentation, strings (single/double/triple), lists, and dictionaries. Familiar, readable, friendly.
Petroleum
Fuel your vision.
From idea to executable: Pythonic clarity with compiled speed, joyful concurrency, and production-ready tooling.
def main():
test_a = pet double_my_number(21)
test_b = pet double_my_number(10)
print(await test_a) # 42
print(await test_b) # 20
def double_my_number(value):
return value * 2
Use def, indentation, strings (single/double/triple), lists, and dictionaries. Familiar, readable, friendly.
Ahead-of-time compilation for tight loops and real performance—without giving up clarity.
Start background work with pet, talk with Leash, manage many using PetGroup. Simple and safe.
Implicit safety nets and the $ decorator for friendly messages—less boilerplate, more building.
Flip a switch at the top of your file to get timestamped logs for execution, output, and errors.
Petroleum doesn’t “down” other languages. We celebrate the ecosystem and contribute a fresh approach.