Skip to main content

Sarpoka Python Packaging

Sarpoka is a rapidly development Python micro framework designed for serverless applications

Installation

pip install sarpoka

An example of usage

from sarpoka import Sarpoka

app = Sarpoka()


@app.route('/')
def home(request, response, **kwargs):
    return 'Welcome Home!!'


@app.route('/api/me', methods=['GET', 'POST'])
def get_me(request, response, **kwargs):
    response.content_type = 'application/json'
    response.status_code = 200
    return {
        'name': 'Mohammad Ashraful Islam'
    }


@app.route('/about')
def about(request, response, **kwargs):
    return '''
  <h1>Mohammad Ashraful Islam</h1>
  <div>
    Senior Software Engineer at Field Buzz<br/>
  </div>
  '''

Features

  • Basic Routing
  • HTTP Method defining during route
  • Query string support
  • View function support only
  • Serving html as string (File not supported yet.)

Upcoming Features

  • Database and ORM support
  • Class based view support
  • HTML/Markdown file rendering
  • Template engine support
  • ... will be added many more.

Metadata

Release files for sarpoka 1.0.1

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

Source distribution (sdist)

Source distribution for sarpoka 1.0.1
File Size Uploaded Provenance Actions
sarpoka-1.0.1.tar.gz 3.8 kB Without provenance Details for sarpoka-1.0.1.tar.gz

Release files / sarpoka-1.0.1.tar.gz

Download URL sarpoka-1.0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7a2aa2fe8b4fd20c0dbb7197b3c0bfee6440fb81c67b431eb0528eae8728c989
BLAKE2b-256 checksum
How to use checksums
da6360c85aa3f78693ea28face3b18a5f90796ed43a3443bdb02f2b4dad30af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

Security for sarpoka 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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