A viewer for Patpat
Project description
Patpat-viewer
A viewer for Patpat
Installation
Install Patpat-viewer by PyPI
pip install patpat-viewer
Usage
After installation, running the FLASK server will enter the sample environment. As different systems have different methods for setting environment variables, operations may vary:
Windows:
> set FLASK_APP=patpat_viewer
> set FLASK_ENV=production
> flask run
Linux:
$ export FLASK_APP=patpat_viewer
$ export FLASK_ENV=production
$ flask run
Before starting the server, specify the answers of Patpat patpat_env
by changing the environment variables:
Windows:
...
> set PATPAT_ENV=<Absolute path of patpat_env>
> flask run
Linux:
...
$ export PATPAT_ENV=<Absolute path of patpat_env>
$ flask run
Example in Windows
We recommend using conda to manage environments. A clean environment makes me feel comfortable and can also prevent hair loss.
(base)> conda create --name=patpat python=3.10
...
(base)> conda activate patpat
(patpat)> pip install patpat-viewer
...
(patpat)> set FLASK_APP=patpat_viewer
(patpat)> set FLASK_ENV=production
(patpat)> set PATPAT_ENV=D:\patpat_env
(patpat)> flask run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patpat-viewer-0.0.7.tar.gz
(1.0 MB
view details)
Built Distribution
File details
Details for the file patpat-viewer-0.0.7.tar.gz
.
File metadata
- Download URL: patpat-viewer-0.0.7.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e900f123bf9fc0f276e17ad634f2e4727b92b03d624bf9b0d41c02e28738dc |
|
MD5 | 80b2b711a45813ef27a2eee843b809f8 |
|
BLAKE2b-256 | 8fb1f2a414f9a73d464244bd3c75fa708d5f96f818a1a584fd8d10a80cc54ee0 |
File details
Details for the file patpat_viewer-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: patpat_viewer-0.0.7-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8817414825babb03b5ef0f5d252f99c907adc1b3f0db12eb254205fd9b33dcb |
|
MD5 | 305e1e75b4368e93a7c626e56852587d |
|
BLAKE2b-256 | 65ad8f461eb90dea6eb4fdd3d428cb0d67436904368d6a34414cc8e7062bad27 |