Skip to main content

A webapp that fetches software version listings and presents them as download sites.

Project description

Socorepo, the SOftware COmponent REPOsitory exPOser, is a lightweight Python webapp that pulls software component listings from a variety of different sources and presents them as intuitive download sites to end users.

A production instance of the webapp is permanently hosted at https://loadingbyte.com/dl. Try it out!

Features

  • Pulls software components from Nexus 3, GitHub, or PyPI repositories.
  • "Just works": Listings are sorted and classified by sensible and generic (yet configurable) standards.
  • Extremely lightweight: No external services like databases required.
  • Configured fully by simple config files.
  • Features a REST API.
  • 100% JavaScript-free. Doesn't employ any JavaScript in the browser.

Install

Socorepo can be installed from PyPI:

$ pip install socorepo

You can then quickly deploy Socorepo, e.g., using Gunicorn:

$ pip install gunicorn
$ gunicorn -b 127.0.0.1:4000 socorepo:app

Configure

When you just fire up Socorepo, it uses the default configuration files that it ships with. You probably want to edit these files. To do that, first extract the default configuration files using:

$ socorepo-default-config

This will copy the default configuration files into a new config/ folder in your shell's current directory. Now put that folder wherever you want. When you start Socorepo in the future, simply supply the path to your new config directory in the environment variable SOCOREPO_CONFIG_DIR:

$ SOCOREPO_CONFIG_DIR=/path/to/config/ gunicorn -b 127.0.0.1:4000 socorepo:app

All configuration files use the TOML configuration format.

The settings.toml file contains straightforward general settings which are explained in detail by the comments in that file. Meanwhile, the projects.toml file defines the software projects for which Socorepo presents download pages. When configuring Socorepo for the first time, start with these two files and use the extensive comments as a guide. The remaining .toml files you probably won't need to touch for starters.

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

socorepo-1.0.2.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

socorepo-1.0.2-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file socorepo-1.0.2.tar.gz.

File metadata

  • Download URL: socorepo-1.0.2.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for socorepo-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5f3e9e7c8b82c9b2dab16e9aaf029ae169fc600da1df21689cc1f79b6309d61d
MD5 9185fa82eab66fdcac0d0061b46c703c
BLAKE2b-256 28939e749d545b4da92395233b74904e290a6816d21b37ef8bba756313de92db

See more details on using hashes here.

File details

Details for the file socorepo-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: socorepo-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for socorepo-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b673dabfdffca102fc0986e1b16aae42f2e4cb32c678c821f145337a65e4fa0
MD5 1d499cbd64ba6ffc23e120e2f0944801
BLAKE2b-256 d776648bcb4f624ebeef33ef99ad9d8000b7803aeee377cbb07207e1cda75ec4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page