Skip to main content

A dashboard generator using FastAPI

Project description

Spaceone Dashboard Generator

FastAPI를 사용하여 대시보드를 생성하는 애플리케이션입니다. 이 애플리케이션은 사용자로 하여금 대시보드 템플릿을 생성하고 관리할 수 있도록 도와줍니다.

기능

  • 대시보드 템플릿 생성
  • 대시보드 템플릿 목록 조회
  • 대시보드 템플릿 삭제
  • 환경 파일 목록 조회

설치

  1. 이 저장소를 클론합니다.

    git clone https://github.com/yourusername/spaceone-dashboard-gen.git
    cd spaceone-dashboard-gen
    
  2. 가상 환경을 생성하고 활성화합니다.

    python -m venv venv
    source venv/bin/activate  # Windows의 경우 `venv\Scripts\activate`
    
  3. 필요한 패키지를 설치합니다.

    pip install -r requirements.txt
    

사용법

  1. FastAPI 서버를 실행합니다.

    uvicorn main:app --reload
    
  2. 웹 브라우저에서 http://127.0.0.1:8000으로 이동하여 대시보드 생성기를 사용합니다.

API 엔드포인트

  • GET /: 메인 페이지를 반환합니다.
  • POST /dashboard-generator: 대시보드를 생성합니다.
  • GET /environment-files: 환경 파일 목록을 반환합니다.
  • POST /run-create-template-by-subprocess: 서브프로세스를 통해 템플릿을 생성합니다.
  • GET /list-dashboard-templates-by-subprocess: 서브프로세스를 통해 대시보드 템플릿 목록을 반환합니다.
  • GET /delete-dashboard-template: 대시보드 템플릿을 삭제합니다.

기여

기여를 환영합니다! 버그 리포트, 기능 제안, 풀 리퀘스트 등을 통해 프로젝트에 기여할 수 있습니다.

라이선스

이 프로젝트는 MIT 라이선스 하에 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.

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

spaceone_dashboard_gen-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

spaceone_dashboard_gen-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file spaceone_dashboard_gen-0.0.2.tar.gz.

File metadata

  • Download URL: spaceone_dashboard_gen-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for spaceone_dashboard_gen-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fe06252708198b8415e9e0fb872bcc09b354da9b4e88c2bc1864d7571e978cb4
MD5 2421b7e3754b14eeff10e32f95db1d1a
BLAKE2b-256 2449a712e21acb57d6f7ed08ea8eebdbb8215960d34ef059f3d602f2dd7e909a

See more details on using hashes here.

File details

Details for the file spaceone_dashboard_gen-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for spaceone_dashboard_gen-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 469a1ab8562da89c717b9bc44d6b63ae7633eaaa38b5e6d663e7f7a80ec7fe7a
MD5 1eb3e1ed22aa4c82f1c6195baaf7a0d2
BLAKE2b-256 c229a63684c300ecbc031d0e0a33af408ec11a0fc49f9feb57cfd4097aec7737

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