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.
greenlet 0.4.15
One-liner (summary)
Description
The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels".
A "greenlet", on the other hand, is a still more primitive notion of micro-thread with no implicit scheduling; coroutines, in other words. This is useful when you want to control exactly when your code runs. You can build custom scheduled micro-threads on top of greenlet; however, it seems that greenlets are useful on their own as a way to make advanced control flow structures. For example, we can recreate generators; the difference with Python's own generators is that our generators can call nested functions and the nested functions can yield values too. Additionally, you don't need a "yield" keyword. See the example in tests/test_generator.py.
Greenlets are provided as a C extension module for the regular unmodified interpreter.
Greenlets are lightweight coroutines for in-process concurrent programming.
Who is using Greenlet?
There are several libraries that use Greenlet as a more flexible alternative to Python's built in coroutine support:
Getting Greenlet
The easiest way to get Greenlet is to install it with pip or easy_install:
pip install greenlet easy_install greenlet
Source code archives and windows installers are available on the python package index at https://pypi.python.org/pypi/greenlet
The source code repository is hosted on github: https://github.com/python-greenlet/greenlet
Documentation is available on readthedocs.org: https://greenlet.readthedocs.io
Status | Completed |
---|---|
Checksum (MD5) | ef13b59917a9c57f8ddbabfbf47cd156 |
Checksum (SHA-1) | c91937e4cfc79c3f3c290cc396b1c4406bd15e5d |
Checksum (SHA-256) | 400ad8f9e00db75b83b4631ffbd5742663f9c1eab345cd95fb1ce1192e39fa69 |
Checksum (SHA-512) | 154d0ecf5fd844ab3257876ee0c50e0de7ace9bd5d41a463473f6d49394f15f23c… |
GPG Signature | |
Storage Region | Dublin, Ireland |
Type | Binary (contains binaries and binary artifacts) |
Uploaded At | 5 years, 9 months ago |
Uploaded By | |
Slug Id | greenlet-0415-cp36-cp36m-linux_armv7lwhl |
Unique Id | P1GaXVqvqwzS |
Version (Raw) | 0.4.15 |
Version (Parsed) |
|
extended metadata | |
Abi | cp36m |
Author | Alexey Borzenkov <snaury@gmail.com> |
Classifiers | Intended Audience :: Developers | License :: OSI Approved :: MIT License | Natural Language :: English | Operating System :: OS Independent | Programming Language :: C | Programming Language :: Python | Programming Language :: Python :: 2 | Programming Language :: Python :: 2.4 | Programming Language :: Python :: 2.5 | Programming Language :: Python :: 2.6 | Programming Language :: Python :: 2.7 | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.0 | Programming Language :: Python :: 3.1 | Programming Language :: Python :: 3.2 | Programming Language :: Python :: 3.3 | Programming Language :: Python :: 3.4 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7 | Topic :: Software Development :: Libraries :: Python Modules |
Homepage URL | https://github.com/python-greenlet/greenlet |
Metadata Version | 2.1 |
Platforms | any |
Py Filetype | bdist_wheel |
Py Version | cp36 |
pkg | greenlet-0.4.15-cp36-cp36m-linu… |
84
41.6 KB |
md5 | sha1 | sha256 | sha512 |
This package has 13 files/directories.
greenlet |
84 |
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, 3 days ago
Scan result
Vulnerable
Vulnerability count
2
Max. severity
MediumTarget: | ||
MEDIUM |
CVE-4619-34948: library: vulnerability titlePackage Name: package_name Installed Version: 1.8.1 Fixed Version: 2.7.69 References: www.roberts.com www.rivera.com www.warren-church.com |
|
LOW |
CVE-9856-88767: library: vulnerability titlePackage Name: package_name Installed Version: 1.5.40 Fixed Version: 2.9.60 References: www.manning.info carr-stevens.com www.campbell-smith.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 'greenlet' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/)
|This version of 'greenlet' @ Cloudsmith|
.. |This version of 'greenlet' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true
:target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/",title="This version of 'greenlet' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/0.4.15/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true" alt="This version of 'greenlet' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[![Latest version of 'greenlet' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/)
|Latest version of 'greenlet' @ Cloudsmith|
.. |Latest version of 'greenlet' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true&show_latest=true
:target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/",title="Latest version of 'greenlet' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/greenlet/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=greenlet;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'greenlet' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use greenlet @ version 0.4.15 ...
pip install 'greenlet==0.4.15'
You can also install the latest version of this package:
pip install --upgrade 'greenlet'
If necessary, you can specify the repository directly:
pip install \
--index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
greenlet==0.4.15
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/
greenlet==0.4.15
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/
greenlet==0.4.15