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

Uploaded Python 3

File details

Details for the file vite_project-1.0.9.tar.gz.

File metadata

  • Download URL: vite_project-1.0.9.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vite_project-1.0.9.tar.gz
Algorithm Hash digest
SHA256 9c5db22ed9ae8ccc2d363108f758bfd9df8f7b46ec061b4893c977ee0f0080ab
MD5 d1ade389631c177c195a6444bfb406ca
BLAKE2b-256 8cfd824c12e72d34339fbb42c91c64a46e32ab7b6828abb9ee3eb4b43f44aeb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for vite_project-1.0.9.tar.gz:

Publisher: publish.yml on itayB/vite-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: vite_project-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vite_project-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 836238dac461ca1696f9eeb428a532923385aff48823f862875816a27cc8cbdc
MD5 c976b9148092bbd3ea2a5a9490fd634f
BLAKE2b-256 c38aa7a07b67a8efab7815fbe761b337dde552c8e4b576838bb416cb667c7f36

See more details on using hashes here.

Provenance

The following attestation bundles were made for vite_project-1.0.9-py3-none-any.whl:

Publisher: publish.yml on itayB/vite-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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