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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vite-project-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e23909c74541812198b7a161b870cd77942361da8985caef1a9f75d5196c1e2c
MD5 4e78d61070283a5dea0e51d6c1ecf9c5
BLAKE2b-256 fa9405847760637a3958db8662f9b020dac35046f8a09f15c03b3cfe76ff4f1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vite_project-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 492fd7eaf77cae3523ce937fbb5b94c401b1cc0da5a42dea9d5d0c58c038bd15
MD5 d87dbd2af9146e29ce4b7f3329bb3047
BLAKE2b-256 c23d07669582a9c82f7d9e1a3dd5320e4aa4262de8440d0626615a70900a6211

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