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.3.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.3-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vite-project-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9e29117687b746fa26cacce3bedf5c1e4e844ac6de90183c3e2f3a776c1323bb
MD5 7c6b80882d899ffbc83e245fda6fa2ac
BLAKE2b-256 430ac69aac5108ad5d28906414209e1b67066230233287efbe7a8bd72b95dc3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vite_project-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 688f9aeab16e980bb079658cac2829b57bbdc34c673698c7db0af51eada6b4be
MD5 b3a762a4688b2e26f10537639a3aab5f
BLAKE2b-256 ba4efb2d1b20f5b711487836a91f53986cc404ead917362b89cfbc1a843897fc

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