Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

API Star

A smart Web API framework, for Python 3.

Build Status codecov Package version


Community: https://discuss.apistar.org 🤔 💭 🤓 💬 😎

Documentation: https://docs.apistar.com 📘


Features

Why might you consider using API Star for your next Web API project?

  • Schema generation - Support for automatically generating OpenAPI schemas.
  • Expressive - Type annotated views, that make for expressive, testable code.
  • Performance - Dynamic behaviour for determining how to run each view makes API Star incredibly efficient.
  • Throughput - Support for asyncio allows for building high-throughput non-blocking applications.

Quickstart

Install API Star:

$ pip3 install apistar

Create a new project in app.py:

from apistar import App, Route


def welcome(name=None):
    if name is None:
        return {'message': 'Welcome to API Star!'}
    return {'message': 'Welcome to API Star, %s!' % name}


routes = [
    Route('/', method='GET', handler=welcome),
]

app = App(routes=routes)


if __name__ == '__main__':
    app.serve('127.0.0.1', 5000, debug=True)

Open http://127.0.0.1:5000/docs/ in your browser:

API documentation


API Star is BSD licensed code.
Designed & built in Brighton, England.

API Star

Metadata

Release files for apistar 0.5.25

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

Source distribution (sdist)

Source distribution for apistar 0.5.25
File Size Uploaded Provenance Actions
apistar-0.5.25.tar.gz 590.7 kB Without provenance Details for apistar-0.5.25.tar.gz

Release files / apistar-0.5.25.tar.gz

Download URL apistar-0.5.25.tar.gz
Size 590.7 kB
Tags Source
SHA-256 checksum
How to use checksums
de835d0c023bf8554c702b683993da8028f74bc0d7266859e8dd880548ef57ae
BLAKE2b-256 checksum
How to use checksums
55c3cbaae210eec2c5775fa57ae044e359f9ccbd1e34324d8df1f6db06467899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for apistar 0.5.25

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

0.1.0

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