requests-pelican¶
requests-pelican provides a
Requests plugin
to support HTTP requests to a
Pelican Federation.
The main component is a new PelicanAdapter
class that handles translating Pelican URIs into HTTP URLs to enable standard
GET requests, including looping over Pelican caches.
This project also provides wrappers around requests.get (and friends) and
requests.Session to simplify configuring support for Pelican URIs.
Installation¶
Conda¶
conda install -c conda-forge requests-pelican
Pip¶
python -m pip install requests-pelican
To include support for [SciTokens](https://scitokens.org/)
include the [scitokens] extra:
python -m pip install requests-pelican[scitokens]
requests-pelican documentation¶
Python Requests addon to support accessing data from a Pelican federation.
See https://docs.pelicanplatform.org/ for details of the Pelican platform.
Functions¶
|
Sends a DELETE request. |
|
Sends a GET request. |
|
Return the list of fully-qualified URLs that serve the given path. |
|
Sends a HEAD request. |
|
Sends a PATCH request. |
|
Sends a POST request. |
|
Sends a PUT request. |
|
Constructs and sends a |
Classes¶
|
Information for a Pelican namespace. |
|
|
|
|
Modules¶
Pelican configuration interactions. |
|
Pelican federation director interactions. |
|
Pelican federation interactions. |
|
Utilities for requests-pelican. |