Skip to main content

Webserver for robot framework and python assets documentation

Project description

rfhub2

Build Status codecov image image image Docker Cloud Automated build Docker Cloud Build Status

Introduction

RfHub2 is an opensource project aimed to provide nice and easy way of collecting, browsing and sharing documentation of existing keywords written in RobotFramework and python. Built with Material-UI and FastAPI, served by Uvicorn.
Project is inspired by robotframework-hub created by Bryan Oakley and can be treated as its spiritual successor.

RfHub2 is hosted on GitHub, where sourcecode, current issues and additional documentation can be found.

Installation

As python package

latest version can be installed from PyPi:

pip install rfhub2

or directly from source code:

python setup.py install

With docker

pull docker image with SQLite:

docker pull pbylicki/rfhub2

or PostgreSQL:

docker pull pbylicki/rfhub2:postgres

Starting application

Run application (web server)

To run with default (SQLite) database:

rfhub2

To run with PostgreSQL database:

RFHUB_DB_URI=postgresql://postgres:postgres@localhost:5432/postgres rfhub2

To run application using docker image with default (SQLite) database:

docker run -it -p 8000:8000 rfhub2

To run application using docker image with Postgres database:

docker run -it -p 8000:8000 --network=host -e RFHUB_DB_URI="postgresql://postgres:postgres@localhost:5432/postgres" rfhub2:postgres

Populate application with data

To populate application running on localhost:

rfhub2-cli ../your_repo ../your_other_repo

To populate app running on another host, with non-default credentials:

rfhub2-cli -a http://your_host:8000 -u user -p password ../your_repo ../your_other_repo

To populate app but to skip loading RFWK installed libraries:

rfhub2-cli --no-installed-keywords ../your_repo ../your_other_repo

To preserve previously loaded collections and add new ones:

rfhub2-cli --no-db-flush ../your_repo ../your_other_repo

License

RfHub2 is an open source software provided under the Apache License 2.0

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

rfhub2-0.6.tar.gz (546.7 kB view details)

Uploaded Source

Built Distribution

rfhub2-0.6-py3-none-any.whl (568.1 kB view details)

Uploaded Python 3

File details

Details for the file rfhub2-0.6.tar.gz.

File metadata

  • Download URL: rfhub2-0.6.tar.gz
  • Upload date:
  • Size: 546.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.7

File hashes

Hashes for rfhub2-0.6.tar.gz
Algorithm Hash digest
SHA256 3cc2b6a03cd0300e9e11013f04b33e185a19c11f69ade1dec4ce24a5dcbea754
MD5 8cb95e4e210ef93a44ac0098c2cf2999
BLAKE2b-256 3808f38cdd66305ff55eefaf5d57c590fc47e8c2496dd0402a0e5648de5da5a3

See more details on using hashes here.

File details

Details for the file rfhub2-0.6-py3-none-any.whl.

File metadata

  • Download URL: rfhub2-0.6-py3-none-any.whl
  • Upload date:
  • Size: 568.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.7

File hashes

Hashes for rfhub2-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b70913609f85417287fad3037bab096aa3ca349a26b782e6d907d5ce8ed274b7
MD5 c8bff722c0c198ed0fee669e5acd7d73
BLAKE2b-256 8e757e02e1f1fb1b0ea2196abd860d4d4f95f2ceea04aa108e82176fc7ffe701

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