Skip to main content

Masonite is a modern and developer centric Python web framework.

Project description

Masonite

GitHub Workflow Status GitHub release (latest by date including pre-releases) License Code style: black

About Masonite

Stop using old frameworks with just a few confusing features. Masonite is the developer focused dev tool with all the features you need for the rapid development you deserve. Masonite is perfect for beginners getting their first web app deployed or advanced developers and businesses that need to reach for the full fleet of features available. A short list of the available features are:

  • Mail support for sending emails quickly.
  • Queue support to speed your application up by sending jobs to run on a queue or asynchronously.
  • Notifications for sending notifications to your users simply and effectively.
  • Task scheduling to run your jobs on a schedule (like everyday at midnight) so you can set and forget your tasks.
  • Events you can listen for to execute listeners that perform your tasks when certain events happen in your app.
  • A BEAUTIFUL Active Record style ORM called Masonite ORM. Amazingness at your fingertips.
  • Many more features you need which you can find in the docs!

Learning Masonite

New to Masonite? Check out the official repository. Masonite strives to have extremely clear documentation 😃. It would be wise to go through the tutorials there. If you find any discrepencies or anything that doesn't make sense, please open an issue and we will get it cleared up!

Getting Started Quickly

Create and activate a virtual environment and if you have a working Python 3.10–3.13 installation then getting started is as quick as typing

pip install masonite-framework
project start .
python craft serve

Upgrading from 4.x to 5.0

Masonite has moved to the masonitedev organization and the PyPI package has been renamed from masonite to masonite-framework.

  1. Uninstall the old package and install the new one:

    pip uninstall masonite
    pip install "masonite-framework>=5,<6"
    
  2. Imports are unchanged — you still import masonite / from masonite import ....

  3. Python 3.10–3.13 is now required (3.8/3.9 were dropped as they reached end of life).

  4. Masonite ORM 3.x and Pendulum 3.x are now required. If your app parses dates directly with Pendulum, review the Pendulum 3 changes (parsing is stricter).

  5. New in 5.0: a full logging system with terminal, single, daily, stack, syslog and slack drivers, configured in config/logging.py and available through the Log facade. Unhandled exceptions are logged automatically with their traceback.

  6. The repository now lives at https://github.com/masonitedev/masonite — update your remotes, issues and links.

Contributing

Contributing to Masonite is simple:

  • Read the Contributing Guide to learn how to contribute to the core source code development of the project.
  • Open an issue or a pull request to ask questions, report bugs or propose changes.

Core Maintainers

Security Vulnerabilities

If you discover a security vulnerability within Masonite please read the Security Policy. All security vulnerabilities will be promptly addressed.

License

The Masonite framework is open-sourced software licensed under the MIT license.

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

masonite_framework-5.0.0.tar.gz (491.7 kB view details)

Uploaded Source

Built Distribution

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

masonite_framework-5.0.0-py3-none-any.whl (605.6 kB view details)

Uploaded Python 3

File details

Details for the file masonite_framework-5.0.0.tar.gz.

File metadata

  • Download URL: masonite_framework-5.0.0.tar.gz
  • Upload date:
  • Size: 491.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for masonite_framework-5.0.0.tar.gz
Algorithm Hash digest
SHA256 4540a441fd4b5fb3cdc99c5da427951fe510ada4fb0e25105eef2b920b9adcc6
MD5 2cd55b6eec47b196c58f4960bd982fae
BLAKE2b-256 bb6fca1692314565a91a74e6a653121c8c1d855a1dacba212d60e20599dc1557

See more details on using hashes here.

Provenance

The following attestation bundles were made for masonite_framework-5.0.0.tar.gz:

Publisher: pythonpublish.yml on masonitedev/masonite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file masonite_framework-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for masonite_framework-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70328e45a78caf3cf559cd20351246c0a145753ed6de557aee962cfac7611977
MD5 dbc83ce4ffd3787b91539c60c4e49d54
BLAKE2b-256 2c787fd99683e456df0667f61bffbb3bfa9403bdd05d2bb96189486ae732f12d

See more details on using hashes here.

Provenance

The following attestation bundles were made for masonite_framework-5.0.0-py3-none-any.whl:

Publisher: pythonpublish.yml on masonitedev/masonite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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