{"id":50474913,"url":"https://github.com/softwarefactory-project/dlrnapi_client","last_synced_at":"2026-06-01T12:31:32.249Z","repository":{"id":62568495,"uuid":"84197144","full_name":"softwarefactory-project/dlrnapi_client","owner":"softwarefactory-project","description":"Client for the DLRN API","archived":false,"fork":false,"pushed_at":"2024-12-04T13:10:45.000Z","size":532,"stargazers_count":2,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T14:19:42.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softwarefactory-project.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-07T12:34:49.000Z","updated_at":"2024-12-04T13:10:50.000Z","dependencies_parsed_at":"2024-12-04T14:32:48.084Z","dependency_job_id":null,"html_url":"https://github.com/softwarefactory-project/dlrnapi_client","commit_stats":{"total_commits":50,"total_committers":8,"mean_commits":6.25,"dds":"0.21999999999999997","last_synced_commit":"ad21fe759597968c0f691b37dc681232dcd8f2aa"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/softwarefactory-project/dlrnapi_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fdlrnapi_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fdlrnapi_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fdlrnapi_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fdlrnapi_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softwarefactory-project","download_url":"https://codeload.github.com/softwarefactory-project/dlrnapi_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fdlrnapi_client/sbom","scorecard":{"id":836258,"data":{"date":"2025-08-11","repo":{"name":"github.com/softwarefactory-project/dlrnapi_client","commit":"7875b50d0d5608b4a99f464aff4ae39471cc118b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2023-207 / GHSA-gwvm-45gx-3cf8","Warn: Project is vulnerable to: PYSEC-2019-133 / GHSA-mh33-7rrq-662w","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2018-32 / GHSA-www2-v7xj-xrc6","Warn: Project is vulnerable to: PYSEC-2021-108","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T19:08:12.627Z","repository_id":62568495,"created_at":"2025-08-23T19:08:12.627Z","updated_at":"2025-08-23T19:08:12.627Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33775857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-01T12:31:30.510Z","updated_at":"2026-06-01T12:31:32.242Z","avatar_url":"https://github.com/softwarefactory-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"dlrnapi-client\n==============\n\nThis is a Python client and command-line interface for the `DLRN`_ API.\n\nIt has been automatically generated by the `Swagger Codegen`_ project:\n\n-  API version: 1.0.0\n-  Package version: 1.0.0\n-  Build package: io.swagger.codegen.languages.PythonClientCodegen\n\nRequirements.\n-------------\n\nPython 2.7 or 3.6+\n\nInstallation \u0026 Usage\n--------------------\n\nYou can install directly from Github\n\n.. code:: sh\n\n   pip install git+https://github.com/softwarefactory-project/dlrnapi_client.git\n\n(you may need to run ``pip`` with root permission:\n``sudo pip install git+https://github.com/softwarefactory-project/dlrnapi_client.git``)\n\nIn order to support kerberos authentication, you need to execute this command (you need to have gcc and krb5-devel packages installed)\n\n.. code:: sh\n\n   pip install \"dlrnapi_client[kerberos] @ git+https://github.com/softwarefactory-project/dlrnapi_client.git\"\n\nThen import the package:\n\n.. code:: python\n\n   import dlrnapi_client\n\nOr you can run the client directly:\n\n.. code:: bash\n\n   $ dlrnapi -h\n\nSetuptools\n~~~~~~~~~~\n\nInstall via `Setuptools`_.\n\n.. code:: sh\n\n   python setup.py install --user\n\n(or ``sudo python setup.py install`` to install the package for all\nusers)\n\nThen import the package:\n\n.. code:: python\n\n   import dlrnapi_client\n\nOr you can run the client directly:\n\n.. code:: bash\n\n   $ dlrnapi -h\n\nGetting Started\n---------------\n\nPlease follow the `installation procedure`_ and then run the following:\n\n.. code:: python\n\n   from __future__ import print_function\n   import time\n   import dlrnapi_client\n   from dlrnapi_client.rest import ApiException\n   from pprint import pprint\n   # create an instance of the API class\n   api_instance = dlrnapi_client.DefaultApi()\n   params = dlrnapi_client.Params() # Params | The JSON params to post\n\n   try:\n       api_response = api_instance.api_last_tested_repo_get(params)\n       pprint(api_response)\n   except ApiException as e:\n       print(\"Exception when calling DefaultApi-\u003eapi_last_tested_repo_get: %s\\n\" % e)\n\nDocumentation for command-line\n------------------------------\n\n-  `dlrnapi`_\n\nDocumentation for API Endpoints\n-------------------------------\n\nAll URIs are relative to http://127.0.0.1:5000\n\n============ ============================ ============================== ===========\nClass        Method                       HTTP request                   Description\n============ ============================ ============================== ===========\n*DefaultApi* `api_last_tested_repo_get`_  **GET** /api/last_tested_repo\n*DefaultApi* `api_last_tested_repo_post`_ **POST** /api/last_tested_repo\n*DefaultApi* `api_promote_post`_          **POST** /api/promote\n*DefaultApi* `api_promote_batch_post`_    **POST** /api/promote-batch\n*DefaultApi* `api_promotions_get`_        **POST** /api/promotions\n*DefaultApi* `api_build_metrics_get`_     **GET** /api/metrics/builds\n*DefaultApi* `api_remote_import_post`_    **POST** /api/remote/import\n*DefaultApi* `api_repo_status_get`_       **GET** /api/repo_status\n*DefaultApi* `api_report_result_post`_    **POST**/api/report_result\n*DefaultApi* `api_agg_status_get`_        **GET**/api/agg_status\n*DefaultApi* `api_recheck_package_post`_   **POST** /api/recheck_package\n\n============ ============================ ============================== ===========\n\nDocumentation For Models\n------------------------\n\n-  `CIVote`_\n-  `Import`_\n-  `Params`_\n-  `Params1`_\n-  `Params2`_\n-  `Params3`_\n-  `Promotion`_\n-  `RecheckRequest_`\n-  `RecheckResponse_`\n-  `Repo`_\n\nDocumentation For Authorization\n-------------------------------\n\nbasicAuth\n---------\n\n-  **Type**: HTTP basic authentication\n\nEnvironment variables\n---------------------\n\n-  *DLRNAPI_AUTHMETHOD*: set the auth method to authenticate against the\n   DLRN API. Choices: kerberosAuth and basicAuth.\n-  *DLRNAPI_USERNAME*: set the username to authenticate against the DLRN\n   API when basicAuth method is selected.\n-  *DLRNAPI_PASSWORD*: set the password to authenticate against the DLRN\n   API when basicAuth method is selected.\n-  *DLRNAPI_PRINCIPAL*: set the server principal used to request the token\n   when kerberosAuth method is selected to auth against the DLRN API.\n   API when basicAuth method is selected.\n-  *SSL_VERIFY*: set to ‘0’ to deactivate SSL verification when talking\n   to the DLRN API.\n-  *SSL_CA_BUNDLE*: when set to a value, it will instruct the client to\n   use that file to verify SSL certificates, instead of the default CA\n   bundle provided by `certifi`.\n\nAuthor\n------\n\nJavier Peña (jpena@redhat.com)\n\n.. _DLRN: https://github.com/softwarefactory-project/DLRN\n.. _Swagger Codegen: https://github.com/swagger-api/swagger-codegen\n.. _Setuptools: http://pypi.python.org/pypi/setuptools\n.. _installation procedure: #installation--usage\n.. _dlrnapi: docs/command-line.md\n.. _api_last_tested_repo_get: docs/DefaultApi.md#api_last_tested_repo_get\n.. _api_last_tested_repo_post: docs/DefaultApi.md#api_last_tested_repo_post\n.. _api_promote_post: docs/DefaultApi.md#api_promote_post\n.. _api_recheck_package_post: docs/DefaultApi.md#api_recheck_package_post\n.. _api_promote_batch_post: docs/DefaultApi.md#api_promote_batch_post\n.. _api_promotions_get: docs/DefaultApi.md#api_promotions_get\n.. _api_build_metrics_get: docs/DefaultApi.md#api_build_metrics_get\n.. _api_remote_import_post: docs/DefaultApi.md#api_remote_import_post\n.. _api_repo_status_get: docs/DefaultApi.md#api_repo_status_get\n.. _api_report_result_post: docs/DefaultApi.md#api_report_result_post\n.. _api_agg_status_get: docs/DefaultApi.md#api_agg_status_get\n.. _CIVote: docs/CIVote.md\n.. _Import: docs/ModelImport.md\n.. _Params: docs/Params.md\n.. _Params1: docs/Params1.md\n.. _Params2: docs/Params2.md\n.. _Params3: docs/Params3.md\n.. _Promotion: docs/Promotion.md\n.. _RecheckRequest: docs/RecheckRequest.md\n.. _RecheckResponse: docs/RecheckResponse.md\n.. _Repo: docs/Repo.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2Fdlrnapi_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwarefactory-project%2Fdlrnapi_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2Fdlrnapi_client/lists"}