Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Mojo

Mojo is a systems programming language specifically designed for high-performance AI infrastructure and heterogeneous hardware. Our vision for Mojo is to be the one programming language developers need to target diverse hardware—CPUs, GPUs, and other accelerators—using Python's intuitive syntax combined with modern systems programming capabilities. Of course, Mojo also provides strong interoperability with Python.

NOTE: Not available for Windows.

What's in mojo

The mojo package includes everything you need to program with Mojo, including the Mojo compiler, standard library, language server (LSP), debugger (LLDB), and more.

Not included but recommended is the Mojo extension for VS Code.

Get started with pip

  1. Install Mojo:

    pip install mojo
    

    If you want the nightly build, instead use:

    pip install --pre mojo \
      --extra-index-url https://whl.modular.com/nightly/simple/
    
  2. Write some code:

    # hello.mojo
    def main():
      print("Hello, World!")
    
  3. Run the code:

    mojo hello.mojo
    
    Hello, World!
    

Using pip is great for existing Python-based environments, but if you're getting started for the first time, we recommend instead installing with pixi. For more information, see the Mojo install guide.

Metadata

Release files for mojo 1.0.0b2

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

Built distributions (wheels)

Table of built distributions (wheels) for mojo 1.0.0b2
File Interpreter ABI Platform Actions
mojo-1.0.0b2-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for mojo-1.0.0b2-py3-none-manylinux_2_34_x86_64.whl
mojo-1.0.0b2-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for mojo-1.0.0b2-py3-none-manylinux_2_34_aarch64.whl
mojo-1.0.0b2-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for mojo-1.0.0b2-py3-none-macosx_13_0_arm64.whl

Total release size: 67.1 MB

Release files / mojo-1.0.0b2-py3-none-manylinux_2_34_x86_64.whl

Download URL mojo-1.0.0b2-py3-none-manylinux_2_34_x86_64.whl
Size 25.8 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6a68fbd862ff8160284ad9fbf3b8f18744e624b1be00eb8affe615036e068d04
BLAKE2b-256 checksum
How to use checksums
7863c1ba98329824d5cdaa6fd3c93dc8541fca34090dce0589c30432ba02701c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mojo-1.0.0b2-py3-none-manylinux_2_34_aarch64.whl

Download URL mojo-1.0.0b2-py3-none-manylinux_2_34_aarch64.whl
Size 25.4 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
51579b8b5361982b25c42f1c6f669855bde00419bd96c27e3b3c4266f9c836f5
BLAKE2b-256 checksum
How to use checksums
88d52c191b54c29fbfc61ed9261046fec544106c24d70e9dbcbad5c48bbbae95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mojo-1.0.0b2-py3-none-macosx_13_0_arm64.whl

Download URL mojo-1.0.0b2-py3-none-macosx_13_0_arm64.whl
Size 15.9 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
3c7aba4a049c8ca715dbcc4aaa3f610c6415c29b6ec4b9a65a670103d5e81351
BLAKE2b-256 checksum
How to use checksums
eb64a04071bc87495905d1fcce48980a8abfd38c30e7c65b121dcb2bad778eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Security for mojo 1.0.0b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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