Skip to main content

My short description for my project.

Project description

pyangi

pyangi: python dasturchilari uchun kichik wsgi aplication

Purpose PyPI

pyangi amaliyot uchun qilingan gunicorn bilan run qilinadi

installation

   pip install pyangi

How to use it

Basic usage

from pyangi.app import Pyangi

app = Pyangi()


@app.route("/home")
def home(request, response):
    response.text = "hello from home page"



@app.route("/about")
def about(request, response):
    response.text = "hello from about page"

@app.route("/home/{name}")
def greetings(request, response, name):
    response.text = f"hello my friend {name}"

@app.route("/books")
class Books:
    def get(self, request, response):
        response.text = "this method get"

    def post(self, request, response):
        response.text = "Endpoint to create books"

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

pyangi-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

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

pyangi-0.1.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

pyangi-0.1.2-py2.py3-none-any.whl (1.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyangi-0.1.2.tar.gz.

File metadata

  • Download URL: pyangi-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyangi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7d69453f744781dd46de8453e17b5a88a49226c0a06c7ea0a7fade5676a4b530
MD5 be5e4dd228d30d18992cba083d790172
BLAKE2b-256 bdef84f180c4bb88ddffd643cf0727411859830dd330341547ba1aa561ef8b08

See more details on using hashes here.

File details

Details for the file pyangi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyangi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyangi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1112e4b5b57bccd30b81ff3c1c1720a3b049dc16e46bc37b82214aee8b9dd963
MD5 ccc75c2a6159da00fcd374e2a11292de
BLAKE2b-256 7b52ab7e615db9be97cce73f9d02f2c360215c417d2fd1fcd1bb19e4ff9bf855

See more details on using hashes here.

File details

Details for the file pyangi-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pyangi-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyangi-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1aa372bb59298c1a2e50ed528444cac74be9fc02965c8a0bcae51753a432cba0
MD5 0745af9f7536232ad779b30fc331f5f1
BLAKE2b-256 f46781d259ba0d78bf946cc7f7c9626983518097e0163b16be3fbb24e2282367

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