Skip to main content

DetaMVC

Documentation: https://detamvc.deta.dev
Source Code: https://github.com/pyn-sol/detaMVC

DetaMVC is a framework for rapidly developing and deploying web applications using:

Installation

pip install detamvc

Other Requirements:

  • A Deta Account. If you do not have one, go to Deta and click 'Join Deta'
  • The Deta CLI

Basics

If you are familiar with Ruby on Rails, the commands are very similar for creating an application.

detamvc new project

cd project

detamvc scaffold item name:str description:text price:float quantity:int available:bool

Before running your project, be sure to set your PROJECT_KEY for Deta. You can get this from your Deta dashboard under 'settings'.

echo DETA_PROJECT_KEY="#######_#############" > .env

Or, save yourself the hassle and set your development project key using the command. Hint: Do this before creating a new project.

detamvc set-project-key #######_#################

Run a Server Manually

This assumes you have uvicorn installed. You can run with other servers as you wish - just set up like you would for a normal FastAPI application.

detamvc s

or

uvicorn main:app --reload

Deploy on Deta

Now you can deploy this on Deta! Before running the following, you will need to install the Deta CLI

deta new --project default

Metadata

Release files for detamvc 0.5.0

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

Source distribution (sdist)

Source distribution for detamvc 0.5.0
File Size Uploaded Provenance Actions
detamvc-0.5.0.tar.gz 24.6 kB Without provenance Details for detamvc-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for detamvc 0.5.0
File Interpreter ABI Platform Actions
detamvc-0.5.0-py3-none-any.whl Python 3 none any Details for detamvc-0.5.0-py3-none-any.whl

Total release size: 62.3 kB

Release files / detamvc-0.5.0.tar.gz

Download URL detamvc-0.5.0.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4651d6ecee1c92aae9edb332bbcc86985e6a3d1da18ba48af08c661daa74dee4
BLAKE2b-256 checksum
How to use checksums
228b5df1d79af5bffd93aee8ea5e2514e888a472ca4a769e4ba06ded2e167d64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.1 Windows/10

Release files / detamvc-0.5.0-py3-none-any.whl

Download URL detamvc-0.5.0-py3-none-any.whl
Size 37.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de1522df033bd9ad8be471e599394b6390325b2123a5f118f068771807460517
BLAKE2b-256 checksum
How to use checksums
5123f38e56e2d69ed5c45306bf1654e55c74c419136ec87207cbb2c67d760925
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.1 Windows/10

Security for detamvc 0.5.0

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