Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Search queries for all Generic-specific package types

Search by file path:
generic_filepath:path/to/file.txt

Search by directory:
generic_directory:path/to

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Generic, Go, Helm, Hex, HuggingFace, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, VSX, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial

Python logo brapi-proxy  0.0.16

One-liner (summary)

A BRAPI server instance that functions as a proxy to merge and combine endpoints from existing BRAPI services

Description

# BrAPI proxy solution

A [BrAPI](https://brapi.org/) server instance that functions as a proxy to merge and combine endpoints from existing BrAPI services.

## Installation

  • Step 1: Install BrAPI Proxy - To install the BrAPI Proxy, run the following command:

    `sh pip install brapi_proxy `

  • Step 2: Test the Installation (Optional) - To ensure that the installation was successful, you can run the BrAPI Proxy in demo mode with the following command:

    `sh brapi_proxy --demo ` This will start a [service on port 8080](http://localhost:8080/) from a configuration based on the [BrAPI Test Server](https://test-server.brapi.org/brapi/v2/)

## Usage

  • Step 1: Create Configuration File - Create a file named config.ini. - Populate this file with the necessary configuration settings.

  • Step 2: Start the Service - Start the service by running the command:

    `sh brapi_proxy `

    • If the config.ini file is located outside the working directory, use the --config option to specify its location. For example: `sh brapi_proxy --config /path/to/config.ini `

---

### Currently Supported

BrAPI Versions - version 2.1

Endpoints

  • BrAPI-Core - /commoncropnames - /lists - /lists/{listDbId} - /locations - /locations/{locationDbId} - /people - /people/{personDbId} - /programs - /programs/{programDbId} - /seasons - /seasons/{seasonDbId} - /studies - /studies/{studyDbId} - /trials - /trials/{trialDbId}
  • BrAPI-Phenotyping - /ontologies - /ontologies/{ontologyDbId}
  • BrAPI-Genotyping - /allelematrix - /callsets - /callsets/{callSetDbId} - /plates - /plates/{plateDbId} - /references - /references/{referenceDbId} - /referencesets - /referencesets/{referenceSetDbId} - /samples - /samples/{sampleDbId} - /variants - /variants/{variantDbId} - /variantsets - /variantsets/{variantSetDbId}
  • BrAPI-Germplasm - /attributes - /attributes/{attributeDbId} - /attributevalues - /attributevalues/{attributeValueDbId} - /breedingmethods - /breedingmethods/{breedingMethodDbId} - /germplasm - /germplasm/{germplasmDbId}

### ToDo

  • Implement additional endpoints

---

### Structure Configuration File

Create a config.ini file with the necessary configuration settings.

Basic Configuration

Include at least the brapi section:

`config [brapi] port=8080 host=0.0.0.0 location=/ threads=4 debug=False version=1.2.3 `

Optional: Serverinfo

Optionally, provide serverinfo entries:

` contactEmail=noreply@wur.nl documentationURL=https://github.com/matthijsbrouwer/brapi-proxy/ location=Wageningen organizationName=Wageningen University and Research organizationURL=https://www.plantbreeding.wur.nl/ serverDescription=Demo-version proxy to combine multiple BrAPI services serverName=BrAPI-Proxy `

Optional: Authorization

Optionally, provide authentication tokens to restrict access in the authorization section:

` [authorization] john=tokenjohn123abc mary=tokenmary456def `

Server Definitions

Within sections prefixed with server., define the underlying servers:

``` [server.test1] url=https://test-server.brapi.org/brapi/v2 calls=commoncropnames,variants,allelematrix authorization=XXXX prefix.variants=barley: prefix.variantsets=barley: prefix.references=barley: prefix.referencesets=barley: prefix.callsets=barley:

[server.test2] url=https://test-server.brapi.org/brapi/v2 calls=commoncropnames,variants,allelematrix prefix.variants=wheat: prefix.variantsets=wheat: prefix.references=wheat: prefix.referencesets=wheat: prefix.callsets=wheat:

[server.test3] url=https://test-server.brapi.org/brapi/v2 calls=samples,studies,plates,callsets,variantsets,referencesets,references ```

To include all available and supported calls from a namespace:

` [server.test3] url=https://test-server.brapi.org/brapi/v2 calls=core.* `

To include all available and supported calls:

` [server.test3] url=https://test-server.brapi.org/brapi/v2 calls=* `

--- This software has been developed for the [AGENT](https://www.agent-project.eu/) project

Size

51.2 KB

Downloads

5

Status  Completed
Checksum (MD5) f5a476c5c025036f29b459badc24b9e2
Checksum (SHA-1) 0596aab63f5f8693d1368166289a1a1cd3a965e5
Checksum (SHA-256) 11691e716a2863184af7830b749b1602726cd867e732507155da9b81be1eb752
Checksum (SHA-512) eb7b6456cc3675baa52498707d9d9c9f0f09997897301d775aab9049a51e98f565…
GPG Signature
GPG Fingerprint 6811684bac0b8895434e97bdd4391b8fb999e537
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 months, 2 weeks ago
Uploaded By Fetched by Cloudsmith
Slug Id brapi_proxy-0016-py3-none-anywhl-hi8x
Unique Id aAnbmYBMLZc531a2
Version (Raw) 0.0.16
Version (Parsed)
  • Major: 0
  • Minor: 0
  • Patch: 16
  • Type: SemVer (Compat)
  extended metadata
Author Matthijs Brouwer <matthijs.brouwer@wur.nl>
Classifiers Operating System :: OS Independent | Programming Language :: Python :: 3.10 | Topic :: Internet :: Proxy Servers | Topic :: Scientific/Engineering :: Bio-Informatics
Metadata Version 2.1
Project Urls Homepage, https://github.com/matthijsbrouwer/brapi-proxy
Py Filetype bdist_wheel
Py Version py3
Requires Dist Flask>=3.0.3 | Requests>=2.32.2 | flask-restx>=1.3.0 | waitress>=3.0.0
Requires Python >=3.10
pkg brapi_proxy-0.0.16-py3-none-any… 5
51.2 KB
md5 sha1 sha256 sha512
Package Contents (brapi_proxy-0.0.16-py3-none-any.whl)
Loading...

This package has 45 files/directories.

 Newer Python logo
brapi-proxy
 0.9.0
5 Fetched by Cloudsmith
  Python logo
brapi-proxy
 0.0.16
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.15
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.14
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.13
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.12
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.11
4 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.10
4 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.9
4 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.8
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.7
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.6
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.5
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.4
5 Fetched by Cloudsmith
 Older Python logo
brapi-proxy
 0.0.3
5 Fetched by Cloudsmith

Last scanned

4 months, 2 weeks ago

Scan result

Clean

Vulnerability count

0

Max. severity

Unknown

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'brapi-proxy' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/)
|This version of 'brapi-proxy' @ Cloudsmith|
.. |This version of 'brapi-proxy' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/",title="This version of 'brapi-proxy' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/0.0.16/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true" alt="This version of 'brapi-proxy' @ Cloudsmith" /></a>

rendered as: This version of 'brapi-proxy' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'brapi-proxy' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true&show_latest=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/)
|Latest version of 'brapi-proxy' @ Cloudsmith|
.. |Latest version of 'brapi-proxy' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true&show_latest=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/",title="Latest version of 'brapi-proxy' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/brapi-proxy/latest/a=noarch;xf=bdist_wheel;xn=brapi-proxy;xv=py3/?render=true&show_latest=true" alt="Latest version of 'brapi-proxy' @ Cloudsmith" /></a>

rendered as: Latest version of 'brapi-proxy' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use brapi-proxy @ version 0.0.16 ...

pip install 'brapi-proxy==0.0.16'

You can also install the latest version of this package:

pip install --upgrade 'brapi-proxy'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/ \
  brapi-proxy==0.0.16

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
brapi-proxy==0.0.16

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
brapi-proxy==0.0.16
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top