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.4.tar.gz (52.7 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.4-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vite-project-1.0.4.tar.gz
  • Upload date:
  • Size: 52.7 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.4.tar.gz
Algorithm Hash digest
SHA256 6fcfeb48e5cb5fd9ba80005e5b04aa352dbbe83dcbe1334f7905ca30513d32f3
MD5 2253f46d902e89bb1fd888b81c1537b8
BLAKE2b-256 14c6c4abef2729e5ec1f7b12df9eab9061f7d4f6fa42ec03d2e6be221986d611

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vite_project-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dea468e683185b18f3ec7de55186f26a6fc8ab628615a5d42553eac8885141a8
MD5 45b3e01deedced32f8ea7221433bf5aa
BLAKE2b-256 6f020ef3cdb2be072c4a8e73f62dcb31d373c75c1e4f3a415450cea1366e5042

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