New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http-server-base

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-server-base

Library for simple HTTP server & REST HTTP server base based on Tornado. Includes: Logging requests and responses with Request Id; Configuration loading; Methods for requests proxying

  • 2.0.10
  • PyPI
  • Socket score

Maintainers
2

HTTP Server Base

This project is a Tornado-based HTTP-server base for easier development. The repository also includes a very simple example server.

Features

  • Easy deployment;
  • Implemented logging;
  • Automated Request Id generation;
  • Implemented configuration loading;
  • Methods for proxying requests.

Installation

Requirements

Please, note, that Python 3.6.0+ is required for this tool.

Installation with PyPI
python3.6 -m pip install http-server-base
Manual Installation
  1. Clone the repository
  2. Run as sudo/admin: python3.6 -m pip install -e .
  3. Import to your project: import http_server_base

Usage

Starting Simple Server

You can start simple HTTP server that logs all requests via console:

python3.6 -m http_server_base [port] [arguments]

Default port is 80 if allowed, else 8080 Arguments should be passed in format name=value

  • Tornado Project Page
  • Python 3.6.0 Release Notes

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc