Skip to main content

No project description provided

Project description

A Packaged React Application

A simple demo client for demonsrating how to build & package frontend application into a Python package. This template was created by Vitejs.

Getting Started

Usage

You can install this client in your Python backend server:

pip install vite-project

Contribution

Installation

npm install
npm run build

Packaging

touch setup.py

with the following content:

from setuptools import setup
from pathlib import Path

cwd = Path(__file__).parent
long_description = (cwd / "README.md").read_text()

setup(
    name="vite-project",
    version="0.0.1",
    package_dir={"vite_project": "dist"},
    package_data={"vite_project": ["**/*.*"]},
    long_description=long_description,
    long_description_content_type="text/markdown",
)

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

vite-project-1.0.1.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

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

vite_project-1.0.1-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file vite-project-1.0.1.tar.gz.

File metadata

  • Download URL: vite-project-1.0.1.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for vite-project-1.0.1.tar.gz
Algorithm Hash digest
SHA256 338a59dc53586e4c8ad1a2b3521445a986538b1256be1a732ff547f717b1f341
MD5 97890ea8a4c14cec6c281230558785ed
BLAKE2b-256 373d3b6c6ad6575abfca4145c63b237ab0937b87d4ed8224083d03dd7d120150

See more details on using hashes here.

File details

Details for the file vite_project-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: vite_project-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for vite_project-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e9d7510aed7b2a9b604f47e6a4c8ef3460ae424c5a89f9b84e098d2081c57a
MD5 9a55f960d18b106149568c4372f70250
BLAKE2b-256 f127f46624f3179497be8c2e117e39f5d26672549186188e91599acba9551c7e

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