Skip to main content

A small and static Next.js frontend for Hyperion

Project description

CalypSSO

A small and static Next.js frontend for Hyperion

Next.js development

You can set Hyperion base url in a dotenv .env

yarn install
yarn dev

Pages

The base url of this project is /calypsso.

You will find:

Compilation

First you need to compile the Next.js project

yarn install
yarn build

The build pages will be located in the /out directory. The small Python package sources are located in /python.

You can install it locally in an other python project using

pip install "path/to/calypsso"

To use it, you need to mount CalypSSO at the subpath /calypsso

For exemple with FastAPI, you could do:

from fastapi import FastAPI

# Define your app
app = FastAPI(
    title="MyFastAPIApp",
)
# ...
# Mount CalypSSO app at the subpath /calypsso
calypsso = get_calypsso_app()
app.mount("/calypsso", calypsso)

Make a release on Pypi

You need to edit CalypSSO version in python/calypsso/__about__.py. Then make a release on GitHub and add a tag. The tag should match v*.*.*.

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

calypsso-1.1.2.tar.gz (1.6 MB view hashes)

Uploaded Source

Built Distribution

calypsso-1.1.2-py3-none-any.whl (1.7 MB view hashes)

Uploaded Python 3

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