⚡ Phoenix ⚡
Phoenix is a speedy lightweight web server with support for modules and extensions.
📦 Installation 📦
You can quickly and easily install from PyPi by running:
pip install phoenix-ws
This provides you with the Phoenix server and PPM package manager.
😀 How it works 😀
Phoenix quickly reads all of the files used by the server and caches them. This reduces the amount of disk read-write operations. It then delivers the files using gzip and zlib to reduce packet size.
Phoenix uses a very small amount of RAM, making it perfect for production environments.
🏁 Getting Started 🏁
You can quickly run Phoenix with:
phoenix run
⚙ Configuration ⚙
Command Line Configuration
run
--host-h- Allow the server to be publicly accessible from other devices.
--port <port>-p <port>- Specify the port to run the server on.
install <package>
Project File Configuration
Phoenix can be configured per-project with a phoenix.config.json file. Here are the options:
host(bool,false) - Allow the server to be publicly accessible from other devices.
port(int,8080) - Specify the port to run the server on.
zlib(bool,true) - Use zlib compression.
gzip(bool,true) - Use gzip compression.
verbose(bool,false) - Print extra debug messages to the console.
indexDirectories(bool,false) - Display the directory's contents if no file is specified.
indexPhoenix(bool,false) - Index the/phoenix/directory.
encoding(str,utf-8) - Set the text encoding.
nocompress(list,[]) - Disable compression on specific files. Each item of the list is the resource's URL.
minify(bool,true) - Make HTML, CSS, and JS files smaller.
proxy(dict,{}) - Reverse-proxy websites.
fixProxy(bool,true) - Replace all instances of the proxied URL with the requested URL.
thisURL(str) - A nice name for the website hosted by the server. Used forfixProxy.
Metadata
Release files for phoenix-ws 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phoenix_ws-2.1.0.tar.gz | 21.6 kB | Without provenance | Details for phoenix_ws-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phoenix_ws-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for phoenix_ws-2.1.0-py3-none-any.whl |
Total release size: 43.1 kB
Release files / phoenix_ws-2.1.0.tar.gz
| Download URL | phoenix_ws-2.1.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09baf5c37464e83fe35a24960a49212c4d7fff12686faff270ec13299513e42d
|
|
BLAKE2b-256 checksum How to use checksums |
bc698da86730a04b50c6b1772b810826fa51027bbde4b051e3e4ce70d8f71e10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / phoenix_ws-2.1.0-py3-none-any.whl
| Download URL | phoenix_ws-2.1.0-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b19557f7ac926fd3f4ba31d9ff8cfe3cc4eba7ddc199276feee0afa923fac6d5
|
|
BLAKE2b-256 checksum How to use checksums |
3e3e07e2b6675fce584ab39bf63ee0a969d386ffae449bad6f476a7715085df7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for phoenix-ws 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.