# servestatic
servestatic is a lightweight Python module that provides a simple HTTP server for serving static files. It offers an easy-to-use solution for quickly hosting static web content locally. Whether you're developing a small web application or need a temporary server for testing purposes, servestatic has got you covered.
## Key Features
- Simple and intuitive HTTP server for static files
- Lightweight and easy to install
- Minimal dependencies
- Compatible with Python 3.x
## Installation
You can install servestatic via pip, which is the recommended method:
```bash
pip install servestatic
```
## Usage
To start serving your static files, follow these steps:
1. Open a terminal and navigate to the folder where your static project is located.
2. Run the following command:
```bash
python -m servestatic
```
The server will start running, and you can access your static content by opening a web browser and entering the server's URL.
Raw data
{
"_id": null,
"home_page": "https://github.com/mujdecisy/serve-static",
"name": "servestatic",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,static,web,server",
"author": "mujdecisy",
"author_email": "mujdecisy@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/24/8a/287bdd49029953feb00e659770ee800625084e0f4a19eef7ca00b00d059e/servestatic-0.0.4.tar.gz",
"platform": null,
"description": "# servestatic\n\nservestatic is a lightweight Python module that provides a simple HTTP server for serving static files. It offers an easy-to-use solution for quickly hosting static web content locally. Whether you're developing a small web application or need a temporary server for testing purposes, servestatic has got you covered.\n\n## Key Features\n- Simple and intuitive HTTP server for static files\n- Lightweight and easy to install\n- Minimal dependencies\n- Compatible with Python 3.x\n\n## Installation\nYou can install servestatic via pip, which is the recommended method:\n\n```bash\npip install servestatic\n```\n\n## Usage\nTo start serving your static files, follow these steps:\n\n1. Open a terminal and navigate to the folder where your static project is located.\n2. Run the following command:\n\n```bash\npython -m servestatic\n```\n\nThe server will start running, and you can access your static content by opening a web browser and entering the server's URL.\n",
"bugtrack_url": null,
"license": "",
"summary": "static web server cli tool",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/mujdecisy/serve-static"
},
"split_keywords": [
"python",
"static",
"web",
"server"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "248a287bdd49029953feb00e659770ee800625084e0f4a19eef7ca00b00d059e",
"md5": "94fb8b5b200b5fb4954d49f271de66ab",
"sha256": "c5270743ff81ceea34f8c36810c2e9b6e87879a8c17ba2e5710bc6598e7e36bb"
},
"downloads": -1,
"filename": "servestatic-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "94fb8b5b200b5fb4954d49f271de66ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3342,
"upload_time": "2023-07-17T21:27:40",
"upload_time_iso_8601": "2023-07-17T21:27:40.946784Z",
"url": "https://files.pythonhosted.org/packages/24/8a/287bdd49029953feb00e659770ee800625084e0f4a19eef7ca00b00d059e/servestatic-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-17 21:27:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mujdecisy",
"github_project": "serve-static",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "servestatic"
}