Skip to main content

Janitor is a simple HTTP Server that supports OAuth authentication.

  1. Install Janitor:

    $ pip install janitor
  2. Write a configuration file:

    $ cat example.cfg
    [janitor]
    host = 127.0.0.1
    port = 8000
    secret_key = realsecretkey123123
    base_dir = /path/to/protected/files
    
    [auth]
    service = github
    client_id = githubapplicationclientid
    client_secret = githubapplicationclientsecret
    allowed_orgs = MyGHOrg
  3. Run the app with Janitor:

    $ janitor -c example.cfg

Release files for Janitor 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Janitor 0.1.1
File Size Uploaded
Janitor-0.1.1.tar.gz 3.4 kB Details

Release files / Janitor-0.1.1.tar.gz

Download URL Janitor-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45830c9dec3a9b953e039bcc423b13fca613b653ebcecafe1c21fbcfc1091bb6
BLAKE2b-256 checksum
How to use checksums
3ec529974ebf1686b6db866aa918be07f541b7e83e09bfe89032a51e9e96097a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page