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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vite-project-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c8f99ca3e55c98f27cf78b56aada80c2a42f0552bc20855ba5dbe64b7d21120b
MD5 09d23b8cf9b871ed4b0677105f08d1a0
BLAKE2b-256 196f63b6889ca7717d79f07e23dff0eb970919461dded82e8faec51836cc8480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vite_project-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 53.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffb62aa9ec6119548c8d69be84805dd0d7c5838939867e298b1beb3fa27528cd
MD5 5ae8546ddd402e3033b92fd560b10371
BLAKE2b-256 b3ab22b2de63c50f80174ef7e3046101fbf1ba5bfc71809d836ca3a536cfc74d

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