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:
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.

Start My Free Trial
 Public agriconnect agriconnect (AgriConnect) / python
Prebuilt wheel for Python packages

Python logo websockets  7.0

One-liner (summary)

An implementation of the WebSocket Protocol (RFC 6455 & 7692)

Description

WebSockets

rtd pypi-v pypi-pyversions pypi-l pypi-wheel circleci codecov

What is websockets?

websockets is a library for building WebSocket servers and clients in Python with a focus on correctness and simplicity.

Built on top of asyncio, Python's standard asynchronous I/O framework, it provides an elegant coroutine-based API.

Here's a client that says "Hello world!":

#!/usr/bin/env python

import asyncio
import websockets

async def hello(uri):
    async with websockets.connect(uri) as websocket:
        await websocket.send("Hello world!")

asyncio.get_event_loop().run_until_complete(
    hello('ws://localhost:8765'))

And here's an echo server (for Python ≥ 3.6):

#!/usr/bin/env python

import asyncio
import websockets

async def echo(websocket, path):
    async for message in websocket:
        await websocket.send(message)

asyncio.get_event_loop().run_until_complete(
    websockets.serve(echo, 'localhost', 8765))
asyncio.get_event_loop().run_forever()

Does that look good? Start here.

Why should I use websockets?

The development of websockets is shaped by four principles:

  1. Simplicity: all you need to understand is msg = await ws.recv() and await ws.send(msg); websockets takes care of managing connections so you can focus on your application.
  2. Robustness: websockets is built for production; for example it was the only library to handle backpressure correctly before the issue became widely known in the Python community.
  3. Quality: websockets is heavily tested. Continuous integration fails under 100% branch coverage. Also it passes the industry-standard Autobahn Testsuite.
  4. Performance: memory use is configurable. An extension written in C accelerates expensive operations. It's pre-compiled for Linux, macOS and Windows and packaged in the wheel format for each system and Python version.

Documentation is a first class concern in the project. Head over to Read the Docs and see for yourself.

Professional support is available if you — or your company — are so inclined. Get in touch.

(If you contribute to websockets and would like to become an official support provider, let me know.)

Why shouldn't I use websockets?

  • If yo

Size

66.7 KB

Downloads

87

Tags

bdist/wheel whl linux_armv7l cp36 cp36m latest

Status  Completed
Checksum (MD5) 91703b95bf6ad300cfa040c75c437091
Checksum (SHA-1) de7585b26d550c88b80491828c40621f8a4a58b5
Checksum (SHA-256) 43a7fd3238eb82df93aac9fe8af6efdd88d489a12eb3c96ef20dbbbd9971e984
Checksum (SHA-512) 12bdbba065d98f8c94d7b4a43622c3661da6c8ac0a08e7b17f5a5b1649b05b8caf…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 5 years, 5 months ago
Uploaded By quan
Slug Id websockets-70-cp36-cp36m-linux_armv7lwhl
Unique Id ZWgc6JD7kFTM
Version (Raw) 7.0
Version (Parsed)
  • Major: 7
  • Minor: 0
  • Type: SemVer (Compat)
  extended metadata
Abi cp36m
Author Aymeric Augustin <aymeric.augustin@m4x.org>
Classifiers Development Status :: 5 - Production/Stable | Environment :: Web Environment | Intended Audience :: Developers | License :: OSI Approved :: BSD License | Operating System :: OS Independent | Programming Language :: Python | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.4 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7
Homepage URL https://github.com/aaugustin/websockets
Metadata Version 2.1
Py Filetype bdist_wheel
Py Version cp36
pkg websockets-7.0-cp36-cp36m-linux… 87
66.7 KB
md5 sha1 sha256 sha512
Package Contents (websockets-7.0-cp36-cp36m-linux_armv7l.whl)
Loading...

This package has 36 files/directories.

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

8 hours ago

Scan result

Vulnerable

Vulnerability count

2

Max. severity

Medium
Target:
MEDIUM

CVE-5946-74963: library: vulnerability title



Package Name: package_name
Installed Version: 1.10.76
Fixed Version: 2.1.94

References: www.douglas.org wood.com www.branch-drake.org
LOW

CVE-1500-89488: library: vulnerability title



Package Name: package_name
Installed Version: 1.7.42
Fixed Version: 2.3.92

References: mcconnell.info burns-hancock.info miller-day.com

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 'websockets' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/)
|This version of 'websockets' @ Cloudsmith|
.. |This version of 'websockets' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/",title="This version of 'websockets' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/7.0/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true" alt="This version of 'websockets' @ Cloudsmith" /></a>

rendered as: This version of 'websockets' @ Cloudsmith

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

[![Latest version of 'websockets' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/)
|Latest version of 'websockets' @ Cloudsmith|
.. |Latest version of 'websockets' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true&show_latest=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/",title="Latest version of 'websockets' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/websockets/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=websockets;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'websockets' @ Cloudsmith" /></a>

rendered as: Latest version of 'websockets' @ Cloudsmith

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

To install/use websockets @ version 7.0 ...

pip install 'websockets==7.0'

You can also install the latest version of this package:

pip install --upgrade 'websockets'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
  websockets==7.0

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/python/simple/
websockets==7.0

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/python/simple/
websockets==7.0
Warning: We highly recommend using pip (or similar) rather than installing directly.
Previous Version
Next Version
Top