Skip to main content

Fast, minimalist web framework for Python

Project description

Pythonidae

Pythonidae is Fast, minimalist web framework for Python Pythonidae

'Hello, World!' Application

from pythonidae import Pythonidae, Path, HttpResponse

app = Pythonidae()

def helloWorld(req):
		return  HttpResponse(req, '<h1>Hello, World!</h1>', content_type='text/html')

app_routes = [
	Path('/', helloWorld)
]

app.set_routes(app_routes)

# Only Development Not Use Production
from wsgiref.simple_server import make_server	
make_server('localhost', 8000, app).serve_forever()

'Simple Rest API' Application

from pythonidae import Pythonidae, Path, JsonResponse

app = Pythonidae()

def helloWorld(req):

return JsonResponse(req, {
	'user':  'thehelkaproject',
	'github':  'https://github.com/thehelkaproject'
})

app_routes = [
	Path('/', helloWorld)
]

app.set_routes(app_routes)

# Only Development Not Use Production
from wsgiref.simple_server import make_server
make_server('localhost', 8000, app).serve_forever()

Contributing

github

License

Python License Pythonidae License

python powered

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

pythonidae-4.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distributions

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

pythonidae-4.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

pythonidae-4.0.0-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pythonidae-4.0.0.tar.gz.

File metadata

  • Download URL: pythonidae-4.0.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.2

File hashes

Hashes for pythonidae-4.0.0.tar.gz
Algorithm Hash digest
SHA256 ea66ce7500974a923a6d9520ecdb40822e24eda34fde19760080a6e74816621a
MD5 20428ba73717f36eb442309e46887236
BLAKE2b-256 a5688b102d24825da0b1218028a21c73fe1f4922c96f1cf2b20ec51394b9b25e

See more details on using hashes here.

File details

Details for the file pythonidae-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: pythonidae-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.2

File hashes

Hashes for pythonidae-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21494c4fffa8442a20fe2087895fe3734bb4446b4f147f07b19cc7738b86dac5
MD5 2694ba249eb69a00f9caf429b9a09646
BLAKE2b-256 28b2446c7de05366aa293b2db392254a059b346054ee5d70b097cd77f2d18429

See more details on using hashes here.

File details

Details for the file pythonidae-4.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pythonidae-4.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.2

File hashes

Hashes for pythonidae-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a896032ded4b800d3ec3d19dee285190e0d61b2e16d1c14097a8c9c6b7f06aff
MD5 9bc1d683a7dfcf6c462fe28b5a32ec66
BLAKE2b-256 a8c6365441befe1fa40fcce26e49b50ebbe81d26a7eba13290f411817ae943a7

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