Skip to main content

A simple framework for Gemini servers inspired by Flask and Express.js.

Project description

Vela (alpha)

A simple framework for Gemini servers inspired by Flask and Express.js.

from vela import Server
# SSL certificate and private key.
app = Server(cert='cert.pem', key='key.pem')

@app.route('/')
def hello(req, res):
    res.send_file('hello.gmi')

PORT = 5000
print(f'Server is listening on port {PORT}...')
app.listen(PORT)

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

vela-0.0.13.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

vela-0.0.13-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file vela-0.0.13.tar.gz.

File metadata

  • Download URL: vela-0.0.13.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for vela-0.0.13.tar.gz
Algorithm Hash digest
SHA256 337e82f847ac3fdbcad5d2852a51a7737e80cf0161c67d671183f8739b1b1477
MD5 0b1bb46ce6a46535628e0798cdea2d70
BLAKE2b-256 18aa34f7a613217fb34b0c37e23490b842bdde76d0cbc63750280562b192a535

See more details on using hashes here.

File details

Details for the file vela-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: vela-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for vela-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cf6d7515ccb75654da69a8c49aca6e058a1cb19dd0ba5490d224a22658b50f5d
MD5 fae52a39c07e934fd44a9f89731be9d5
BLAKE2b-256 8bf536bc65b3f4bcb004a4ca06f07ba72a7c70398ab5e3fadce2f195aa7dbd2c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page