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-musl
Python-Musl: Containing wheel packages built with musl (like Alpine OS)

Python logo meinheld  1.0.1

One-liner (summary)

High performance asynchronous Python WSGI Web Server

Description

What's this

https://travis-ci.org/mopemope/meinheld.svg

This is a high performance python wsgi web server.

Thus this is yet an another asynchronous web server like gevent.

And meinheld is a WSGI compliant web server. (PEP333 and PEP3333 supported)

You can also join us in `meinheld mailing list`_ and `#meinheld`_ on freenode_

Requirements

meinheld requires Python 2.x >= 2.6 or Python 3.x >= 3.2 . and greenlet >= 0.4.5.

meinheld supports Linux, FreeBSD, Mac OS X.

Installation

Install from pypi:

$ pip install -U meinheld

Install from source:

$ python setup.py install

meinheld supports gunicorn.

To install gunicorn:

$ pip install -U gunicorn

Basic Usage

simple wsgi app:

from meinheld import server

def hello_world(environ, start_response):
    status = b'200 OK'
    res = b"Hello world!"
    response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(res)))]
    start_response(status, response_headers)
    return [res]

server.listen(("0.0.0.0", 8000))
server.run(hello_world)

with gunicorn. user worker class "egg:meinheld#gunicorn_worker" or "meinheld.gmeinheld.MeinheldWorker":

$ gunicorn --workers=2 --worker-class="egg:meinheld#gunicorn_worker" gunicorn_test:app

Continuation

meinheld provides a simple continuation API (based on greenlet).

To enable continuations, use ContinuationMiddleware. get Continuation from wsgi environ.

Continuation objects have two very interesting methods, suspend and resume.

For example:

from meinheld import server
from meinheld import middleware

def app(environ, start_response):
    ...

    #get Continuation
    c = environ.get(middleware.CONTINUATION_KEY, None)

    ...

    if condtion:
        waiters.append(c)
        #suspend
        c.suspend()
    else:
        for c in waiters:
            # resume suspend function
            c.resume()

    ...


server.listen(("0.0.0.0", 8000))
server.run(middleware.ContinuationMiddleware(hello_world))

For more info see http://github.com/mopemope/meinheld/tree/master/example/chat/

Websocket

meinheld support Websockets. use WebSocketMiddleware.

For example:

from flask import Flask, render_template, request
from meinheld import server, middleware

SECRET_KEY = 'development key'
DEBUG=True

app = Flask(__name__)
app.config.from_object(__name__)


participants = set()


@app.route('/')
def index():
    return render_template('websocket_chat.html')

@app.route('/chat')
def chat():
    print request.environ
    ws = request.environ.get('wsgi.websocket')
    participants.add(ws)
    try:
        while True:
            print "ws.wait()..."
            m = ws.wait()
            print "recv msg %s" % m
            if m is None:
                break
            for p in participants:
                print "send message %s" % m
                p.send(m)
    finally:
        participants.remove(ws)
    return ""


if __name__ == "__main__":
    server.listen(("0.0.0.0", 8000))
    server.run(middleware.WebSocketMiddleware(app))

Patching

meinheld provides a few monkeypatches.

Socket

This patch replaces the standard socket module.

For Example:

from meinheld import patch
patch.patch_all()

For more info see http://github.com/mopemope/meinheld/tree/master/example/patch/

Performance

For parsing HTTP requests, meinheld uses Ryan Dahl's http-parser library.

(see https://github.com/joyent/http-par

Size

203.0 KB

Downloads

70

Tags

bdist/wheel whl linux_x86_64 cp36 cp36m latest

Status  Completed
Checksum (MD5) a163ef2b5bef6fc0ea4407e81ed3b3f7
Checksum (SHA-1) 917a1afb39fe6bbc8e2edfe427de3993c396df8c
Checksum (SHA-256) de97af6d3cf6142ebc85afc24dc9c3e2d6a38832b55ecf5aeccb01b44f63c2d8
Checksum (SHA-512) 632e341e50ecf7aace39802db4e0158f457e6d8b6951ea9fdfc4ebd2bcc6930883…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 years, 11 months ago
Uploaded By quan
Slug Id meinheld-101-cp36-cp36m-linux_x86_64whl
Unique Id TlC5dUsPzVe4
Version (Raw) 1.0.1
Version (Parsed)
  • Major: 1
  • Minor: 0
  • Patch: 1
  • Type: SemVer (Strict)
  extended metadata
Abi cp36m
Author yutaka matsubara <yutaka.matsubara@gmail.com>
Classifiers Development Status :: 5 - Production/Stable | Environment :: Web Environment | Intended Audience :: Developers | License :: OSI Approved :: BSD License | Operating System :: MacOS :: MacOS X | Operating System :: POSIX :: BSD :: FreeBSD | Operating System :: POSIX :: Linux | Programming Language :: C | Programming Language :: Python | Programming Language :: Python :: 3 | Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Homepage URL http://meinheld.org
Metadata Version 2.1
Platforms BSD | Darwin | Linux | SunOS
Py Filetype bdist_wheel
Py Version cp36
pkg meinheld-1.0.1-cp36-cp36m-linux… 70
203.0 KB
md5 sha1 sha256 sha512
Package Contents (meinheld-1.0.1-cp36-cp36m-linux_x86_64.whl)
Loading...

This package has 18 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

1 day, 1 hour ago

Scan result

Vulnerable

Vulnerability count

3

Max. severity

Critical
Target:
CRITICAL

CVE-4906-26297: library: vulnerability title



Package Name: package_name
Installed Version: 1.9.95
Fixed Version: 2.1.61

References: wood.com www.ruiz.com www.hernandez-carter.com
MEDIUM

CVE-7824-39849: library: vulnerability title



Package Name: package_name
Installed Version: 1.3.20
Fixed Version: 2.4.70

References: www.pruitt.com www.clark-snyder.com www.brooks.info
MEDIUM

CVE-8942-44776: library: vulnerability title



Package Name: package_name
Installed Version: 1.4.66
Fixed Version: 2.6.81

References: www.alexander-robinson.com www.martin-lozano.org khan-medina.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 'meinheld' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/)
|This version of 'meinheld' @ Cloudsmith|
.. |This version of 'meinheld' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/",title="This version of 'meinheld' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/meinheld/1.0.1/a=linux_x86_64;xa=cp36m;xf=bdist_wheel;xn=meinheld;xv=cp36/?render=true" alt="This version of 'meinheld' @ Cloudsmith" /></a>

rendered as: This version of 'meinheld' @ Cloudsmith

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

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

rendered as: Latest version of 'meinheld' @ Cloudsmith

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

To install/use meinheld @ version 1.0.1 ...

pip install 'meinheld==1.0.1'

You can also install the latest version of this package:

pip install --upgrade 'meinheld'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/ \
  meinheld==1.0.1

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/
meinheld==1.0.1

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