-
python3-httpx-0.28.1-1.lbn36.noarch
HTTPX is a fully featured HTTP client for Python, which provides sync and
async APIs, and support for both HTTP/1.1 and HTTP/2.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-httpx+brotli-0.28.1-1.lbn36.noarch
This is a metapackage bringing in brotli extras requires for python3-httpx.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-httpx+cli-0.28.1-1.lbn36.noarch
This is a metapackage bringing in cli extras requires for python3-httpx.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-httpx+http2-0.28.1-1.lbn36.noarch
This is a metapackage bringing in http2 extras requires for python3-httpx.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-httpx+socks-0.28.1-1.lbn36.noarch
This is a metapackage bringing in socks extras requires for python3-httpx.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-httpx-sse-0.4.0-1.lbn36.noarch
httpx-sse
Consume Server-Sent Event (SSE) messages with HTTPX.
Table of contents
Installation
Quickstart
How-To
API Reference
Installation
NOTE: This is beta software. Please be sure to pin your dependencies.
pip install httpx-sse=="0.4.*"
Quickstart
httpx-sse provides the connect_sse and aconnect_sse helpers for connecting to an SSE endpoint. The resulting EventSource object exposes the .iter_sse() and .aiter_sse() methods to iterate over the server-sent events.
Example usage:
import httpx
from httpx_sse import connect_sse
with httpx.Client() as client:
with connect_sse(client, "GET", "http:/localhost:8000/sse") as event_source:
for sse in event_source.iter_sse():
print(sse.event, sse.data, sse.id, sse.retry)
You can try this against this example Starlette server (credit):
import asyncio
import uvicorn
from starlette.applications import Starlette
from starlette.routing import Route
from sse_sta
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pygithub-2.3.0-1.lbn36.noarch
PyGitHub
PyGitHub is a Python library to access the GitHub REST API.
This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.
Install
pip install PyGithub
Simple Demo
from github import Github
from github import Auth
auth = Auth.Token("access_token")
g = Github(auth=auth)
g = Github(base_url="https:/{hostname}/api/v3", auth=auth)
for repo in g.get_user().get_repos():
print(repo.name)
g.close()
Documentation
More information can be found on the PyGitHub documentation site.
Development
Contributing
Long-term discussion and bug reports are maintained via GitHub Issues.
Code review is done via GitHub Pull Requests.
For more information read CONTRIBUTING.md.
Main
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pyspark-3.3.1-1.lbn36.noarch
Apache SparkSpark is a unified analytics engine for large-scale data
processing. It provides high-level APIs in Scala, Java, Python, and R, and an
optimized engine that supports general computation graphs for data analysis. It
also supports a rich set of higher-level tools including Spark SQL for SQL and
DataFrames, pandas API on Spark for pandas workloads, MLlib for machine
learning, GraphX...
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pyspnego-0.10.2-1.lbn36.noarch
Library to handle SPNEGO (Negotiate, NTLM, Kerberos) and CredSSP authentication. Also
includes a packet parser that can be used to decode raw NTLM/SPNEGO/Kerberos tokens
into a human readable format.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pyspnego+kerberos-0.10.2-1.lbn36.noarch
This is a metapackage bringing in kerberos extras requires for
python3-pyspnego.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36