Installation¶
Download the Source Code¶
Uplink’s source code is in a public repository hosted on GitHub.
As an alternative to installing with pip, you could clone the repository,
$ git clone https://github.com/prkumar/uplink.git
then, install; e.g., with setup.py:
$ cd uplink
$ python setup.py install
Extras¶
These are optional integrations and features that extend the library’s core functionality and typically require an additional dependency.
When installing Uplink with pip, you can specify any of the following
extras, to add their respective dependencies to your installation:
| Extra | Description |
|---|---|
aiohttp |
Enables uplink.AiohttpClient,
for sending non-blocking requests
and receiving awaitable responses. |
marshmallow |
Enables uplink.MarshmallowConverter,
for converting JSON responses directly into Python objects
using marshmallow.Schema. |
pydantic |
Enables uplink.PydanticConverter,
for converting JSON responses directly into Python objects
using pydantic.BaseModel. |
twisted |
Enables uplink.TwistedClient,
for sending non-blocking requests and receiving
Deferred responses. |
To download all available features, run
$ pip install -U uplink[aiohttp, marshmallow, pydantic, twisted]