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.1.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

socorepo-1.0.1-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: socorepo-1.0.1.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for socorepo-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b27c893f9d80b3e6e27f270b60b93bf7b52f70382d2e150fd5201219da11b748
MD5 e723fe607ecea35fffd1d9db89b63bcc
BLAKE2b-256 f63e18633f563afe82c90e4a296e30e170c9395ffa45b9b74919bab98dcdd05d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: socorepo-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 41.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for socorepo-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86c201f2a795b72ff5ca5388e518dcd3581b576da338aa738a5e42ff6312b2f2
MD5 df2abb05bfa106bec5779152e1882a58
BLAKE2b-256 8746fba236237457e2a546fb107f32e5c08bb102c3cc4f370179b22d07f94a07

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