Skip to main content

Create a quick local testing server

Project description

CarrotScript Testing Server

This is an package that create a local testing server so you can test a application or something else on your computer.

Installation

To install this, we reccomend using PIP. Run the following on your terminal

pip3 install carrotscript

Usage

To use this package, in a python file, run this:

from carrotscript import carrotscript

Then, it should ask a question:

What port do you want to create your local server in: 

Answer a port like:

What port do you want to create your local server in: 8080

Then it should give something like this:

Web Server is running at http://localhost:8080
Close this tab to exit
Logs:

Then visit http://localhost:8080 (or whatever yours is) and you got a web server

TIP: cd to a directory and create a index.html file in there. Then, create a testing server there


© Greatly Gravitate

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

carrotscript-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

carrotscript-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file carrotscript-0.0.1.tar.gz.

File metadata

  • Download URL: carrotscript-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.3

File hashes

Hashes for carrotscript-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f7192fb39c5b25c8dee0b70dcab250c17f2125f3d310d8c916bf69cc80d01967
MD5 f4b1ae0b06122ab2e5e143a50cfde824
BLAKE2b-256 3973101b86abc9416af7fccf31bfe45b8704e92fc2720921a172a07908d8e8e0

See more details on using hashes here.

File details

Details for the file carrotscript-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: carrotscript-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.3

File hashes

Hashes for carrotscript-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60a3e58475df3e5fc7802741f996f248de1edbdbd97eb3fb43a795c1cbe3fc40
MD5 ca813edc082c42b641af218f5f043553
BLAKE2b-256 e5520f96b97d75cfebf21b136a5b114019728f1b6ce64ac42ac6ee7ca0d2c66e

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