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:
my-package.ext
(implicit)
filename:my-package.ext
(explicit)
Search by package tag:
latest
(implicit)
tag:latest
(explicit)
Search by package version:
1.0.0
(implicit)
version:1.0.0
(explicit)
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 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)
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,
Go,
Helm,
Hex,
LuaRocks,
Maven,
npm,
NuGet,
P2,
Python,
RedHat,
Ruby,
Swift,
Terraform,
Vagrant,
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.
aiohttp 3.5.4
One-liner (summary)
Description
Async http client/server framework
Key Features
- Supports both client and server side of HTTP protocol.
- Supports both client and server Web-Sockets out-of-the-box and avoids Callback Hell.
- Provides Web-server with middlewares and pluggable routing.
Getting started
Client
To get something from the web:
import aiohttp import asyncio async def fetch(session, url): async with session.get(url) as response: return await response.text() async def main(): async with aiohttp.ClientSession() as session: html = await fetch(session, 'http://python.org') print(html) if __name__ == '__main__': loop = asyncio.get_event_loop() loop.run_until_complete(main())
Server
An example using a simple server:
# examples/server_simple.py from aiohttp import web async def handle(request): name = request.match_info.get('name', "Anonymous") text = "Hello, " + name return web.Response(text=text) async def wshandle(request): ws = web.WebSocketResponse() await ws.prepare(request) async for msg in ws: if msg.type == web.WSMsgType.text: await ws.send_str("Hello, {}".format(msg.data)) elif msg.type == web.WSMsgType.binary: await ws.send_bytes(msg.data) elif msg.type == web.WSMsgType.close: break return ws app = web.Application() app.add_routes([web.get('/', handle), web.get('/echo', wshandle), web.get('/{name}', handle)]) web.run_app(app)
Documentation
External links
Feel free to make a Pull Request for adding your link to these pages!
Communication channels
aio-libs google group: https://groups.google.com/forum/#!forum/aio-libs
Feel free to post your questions and ideas here.
gitter chat https://gitter.im/aio-libs/Lobby
We support Stack Overflow. Please add aiohttp tag to your question there.
Requirements
- Python >= 3.5.3
- async-timeout_
- attrs
- chardet
- multidict_
- yarl_
Optionally you may install the cChardet_ and aiodns libraries (highly recommended for sake of speed).
Status | Completed |
---|---|
Checksum (MD5) | eb37fca6e935f9705b21e54cdf3dd083 |
Checksum (SHA-1) | a7b80490fa19ce09bfa7ea25dae58144acf5a4a8 |
Checksum (SHA-256) | 960fb2cf31ff5c684fae75c9957f49055defabf038aea13db56314d0346c86c7 |
Checksum (SHA-512) | 218998f34ccbb216dc4c5e9fc4068de5a3ef15e622a28e2d82f1a8dc4f27b3c63d… |
GPG Signature | |
Storage Region | Dublin, Ireland |
Type | Binary (contains binaries and binary artifacts) |
Uploaded At | 5 years, 6 months ago |
Uploaded By | |
Slug Id | aiohttp-354-cp36-cp36m-linux_x86_64whl |
Unique Id | 3l75j0qz3WaG |
Version (Raw) | 3.5.4 |
Version (Parsed) |
|
extended metadata | |
Abi | cp36m |
Author | Nikolay Kim <fafhrd91@gmail.com> |
Classifiers | Development Status :: 5 - Production/Stable | Framework :: AsyncIO | Intended Audience :: Developers | License :: OSI Approved :: Apache Software License | Operating System :: MacOS :: MacOS X | Operating System :: Microsoft :: Windows | Operating System :: POSIX | Programming Language :: Python | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7 | Topic :: Internet :: WWW/HTTP |
Homepage URL | https://github.com/aio-libs/aiohttp |
Maintainer | Nikolay Kim <fafhrd91@gmail.com>, Andrew Svetlov <andrew.svetlov@gmail.com> <aio-libs@googlegroups.com> |
Metadata Version | 2.1 |
Project Urls | CI: AppVeyor, https://ci.appveyor.com/project/aio-libs/aiohttp | CI: Circle, https://circleci.com/gh/aio-libs/aiohttp | CI: Shippable, https://app.shippable.com/github/aio-libs/aiohttp | CI: Travis, https://travis-ci.com/aio-libs/aiohttp | Chat: Gitter, https://gitter.im/aio-libs/Lobby | Coverage: codecov, https://codecov.io/github/aio-libs/aiohttp | Docs: RTD, https://docs.aiohttp.org | GitHub: issues, https://github.com/aio-libs/aiohttp/issues | GitHub: repo, https://github.com/aio-libs/aiohttp |
Py Filetype | bdist_wheel |
Py Version | cp36 |
pkg | aiohttp-3.5.4-cp36-cp36m-linux_… |
251
983.9 KB |
md5 | sha1 | sha256 | sha512 |
This package has 79 files/directories.
aiohttp |
251 |
Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!
With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.
If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!
Last scanned
2 weeks, 6 days ago
Scan result
Vulnerable
Vulnerability count
1
Max. severity
LowTarget: | ||
LOW |
CVE-7461-44022: library: vulnerability titlePackage Name: package_name Installed Version: 1.3.38 Fixed Version: 2.8.44 References: flores.com www.campbell.com www.mathis.net |
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 'aiohttp' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/)
|This version of 'aiohttp' @ Cloudsmith|
.. |This version of 'aiohttp' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true
:target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/",title="This version of 'aiohttp' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/3.5.4/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true" alt="This version of 'aiohttp' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[![Latest version of 'aiohttp' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/)
|Latest version of 'aiohttp' @ Cloudsmith|
.. |Latest version of 'aiohttp' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true&show_latest=true
:target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/",title="Latest version of 'aiohttp' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/aiohttp/latest/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=aiohttp;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'aiohttp' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use aiohttp @ version 3.5.4 ...
pip install 'aiohttp==3.5.4'
You can also install the latest version of this package:
pip install --upgrade 'aiohttp'
If necessary, you can specify the repository directly:
pip install \
--index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/ \
aiohttp==3.5.4
If you've got a project requirements.txt file, you can specify this as a dependency:
--index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/
aiohttp==3.5.4
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/agriconnect/python-musl/python/simple/
aiohttp==3.5.4