Skip to main content

Gerrit Stats

Project description

Gerrit Stats

PyPI Travis Coverage License

Gerrit Stats is a tool used for Gerrit stats via Gerrit API.

Requirement

  • python >= 3.7

Build

pip install -U pywin32
pip install -U pyinstaller
pip install -Ur requirements.txt

pyinstaller --clean --name gerritstats -F stats.py

Installation

pip install gerritstats

Update

pip install gerritstats --upgrade

Run

gerritstats --config-file config.json --gerrit-query "since:2020-06-01 until:2020-06-02" --output-file output.json

Settings

Gerrit Stats parameters can be set in the directory config.

An example of configuration in config.json:

{
  "gerrit": {
    "host": "localhost:80",
    "pass": "pass",
    "query": {
      "option": ["CURRENT_REVISION"]
    },
    "user": "user"
  }
}

License

Project License can be found here.

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

gerritstats-1.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gerritstats-1.1.0-py2.py3-none-any.whl (12.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gerritstats-1.1.0.tar.gz.

File metadata

  • Download URL: gerritstats-1.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9

File hashes

Hashes for gerritstats-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b5ac593db606c1941cede3cc87d3f845eb2d11791ccfea4e19408b0d4d7e50cb
MD5 fe45d8cd376a78679d09ba6abe92393b
BLAKE2b-256 08680ad84a714fe2e0d1cfa30f9052d2237d2a25f285b98c976333ac50008983

See more details on using hashes here.

File details

Details for the file gerritstats-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gerritstats-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9

File hashes

Hashes for gerritstats-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff9feb0a39dc68078c153f52bef6cc0fe5dfe6e2e75ce61c395119b60b484dc4
MD5 96f22226457dc60b6bbbcb8c09eed92e
BLAKE2b-256 c855f8a1e43e00ad2420e182085b8c98f1c883500c76e3eef32c6ff5b2cfec46

See more details on using hashes here.

Supported by

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