OpenRepos.net web client
Project description
OpenRepos.net Web Client
openrepos-webclient
is a Python package to interface the OpenRepos.net
website in an automated way.
Installation
To install, run from the repository root:
python3 -m pip install --user .
or install it from PyPi:
python3 -m pip install --user openrepos
(Run
sudo apt-get update && sudo apt-get -y install python3-pip && pip3 install --user -U pip
if it complains aboutpip
not being found)
You will also need to install at least one selenium
-compatible browser with webdriver, for example Firefox together with geckodriver
.
If you want to run openrepos
headlessly, you will also need Xvfb
.
What can openrepos
do?
OpenRepos Credentials
Define your OpenRepos.net login credentials as environment variables. You can either run this in each terminal session once before running the
openrepos
command:export OPENREPOS_USERNAME=myuser OPENREPOS_PASSWORD=mypass... or you can put the above in a file (say
openrepos-credentials.sh
) and thensource
this file, which is safer as you don't specify any credentials on the command-line:source openrepos-credentials.shExecuting
If running just
openrepos
errors out with something likecommand not found
, then just runpython3 -m openrepos
instead.
Create a new app
openrepos -i new-app -n TestApp -p SailfishOS -c Libraries
Documentation
Documentation of the openrepos
package can be found here on
GitLab.
Also, the command-line help page openrepos -h
is your friend.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for openrepos-webclient-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 304d78b99aae8f29ef75ce41779a0f4c3230bf3814d1b8b03a7d75e4ad5bc295 |
|
MD5 | c6523fe435c4f7d67a091ae3bfe97c2d |
|
BLAKE2b-256 | b73c8d9e7275c781fc0c294723b762b2a7b963ab213c66a37c63a49975a90793 |