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 pycares  3.0.0

One-liner (summary)

Python interface for c-ares

Description

pycares: Python interface for c-ares

https://badge.fury.io/py/pycares.png https://secure.travis-ci.org/saghul/pycares.png?branch=master https://ci.appveyor.com/api/projects/status/vx1wbkfq3l7nm1m8?svg=true

pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously.

Bundled c-ares

pycares currently bundles c-ares and as of pycares 1.0.0 this is a strong requirement. Upstream c-ares is not willing to apply a patch adding TTL support. I did apply the patch to the bundled c-ares, but unfortunately it breaks the ABI, so attempting to use a system provided c-ares is not possible.

Installation

GNU/Linux, macOS, Windows, others:

pip install pycares

FreeBSD:

cd /usr/ports/dns/py-pycares && make install

IDNA 2008 support

If the idna package is installed, pycares will support IDNA 2008 encodingm otherwise the builtin idna codec will be used, which provides IDNA 2003 support.

You can force this at installation time as follows:

pip install pycares[idna]

Running the test suite

There are several ways of running the test ruite:

  • Run the test with the current Python interpreter:

    From the toplevel directory, run: python tests/tests.py

  • Use Tox to run the test suite in several virtualenvs with several interpreters

    From the toplevel directory, run: tox -e py35,py36,py37 this will run the test suite on Python 3.5, 3.6 and 3.7 (you'll need to have them installed beforehand)

Using it from the cli, a la dig

This module can be used directly from the command line in a similar fashion to dig (limited, of course):

$ python -m pycares google.com
;; QUESTION SECTION:
;google.com                  IN      A

;; ANSWER SECTION:
google.com           300     IN      A       172.217.17.142

$ python -m pycares mx google.com
;; QUESTION SECTION:
;google.com                  IN      MX

;; ANSWER SECTION:
google.com           600     IN      MX      50 alt4.aspmx.l.google.com
google.com           600     IN      MX      10 aspmx.l.google.com
google.com           600     IN      MX      40 alt3.aspmx.l.google.com
google.com           600     IN      MX      20 alt1.aspmx.l.google.com
google.com           600     IN      MX      30 alt2.aspmx.l.google.com

Author

Saúl Ibarra Corretgé <s@saghul.net>

License

Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file.

Supported Python versions

Python >= 3.5 are supported. Both CPython and PyPy are supported.

Contributing

If you'd like to contribute, fork the project, make a patch and send a pull request. Have a look at the surrounding code and please, make yours look alike :-)

License

Unknown

Size

203.4 KB

Downloads

52

Tags

bdist/wheel whl linux_armv7l cp37 cp37m latest

Status  Completed
Checksum (MD5) 4a2f56578a5a3ba96ed90adc729a7f3a
Checksum (SHA-1) f51b412a23cbcc4ed026eeacd01c9c0edb0b1cb3
Checksum (SHA-256) 923a90b91d274903266edd11e382243fddc5aabeb3bdc5e553508c5d009bfe4c
Checksum (SHA-512) de82b152be03d063c54d4dae957df57608160f1b0c09c267dc2e708c610e9d2239…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 years, 5 months ago
Uploaded By quan
Slug Id pycares-300-cp37-cp37m-linux_armv7lwhl
Unique Id Zpq78JKH5iCF
Version (Raw) 3.0.0
Version (Parsed)
  • Major: 3
  • Minor: 0
  • Patch: 0
  • Type: SemVer (Strict)
  extended metadata
Abi cp37m
Author Saúl Ibarra Corretgé <s@saghul.net>
Classifiers Development Status :: 5 - Production/Stable | Intended Audience :: Developers | License :: OSI Approved :: MIT License | 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 | Programming Language :: Python :: Implementation :: CPython | Programming Language :: Python :: Implementation :: PyPy
Homepage URL http://github.com/saghul/pycares
Metadata Version 2.1
Platforms Microsoft Windows | POSIX
Py Filetype bdist_wheel
Py Version cp37
pkg pycares-3.0.0-cp37-cp37m-linux_… 52
203.4 KB
md5 sha1 sha256 sha512
Package Contents (pycares-3.0.0-cp37-cp37m-linux_armv7l.whl)
Loading...

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

20 hours ago

Scan result

Vulnerable

Vulnerability count

2

Max. severity

Low
Target:
LOW

CVE-4486-45516: library: vulnerability title



Package Name: package_name
Installed Version: 1.3.19
Fixed Version: 2.9.95

References: sullivan.com www.johnson.com www.moran.biz
LOW

CVE-4921-25484: library: vulnerability title



Package Name: package_name
Installed Version: 1.8.4
Fixed Version: 2.3.44

References: www.campbell-woods.biz fisher-taylor.com www.white-evans.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 'pycares' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/)
|This version of 'pycares' @ Cloudsmith|
.. |This version of 'pycares' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/",title="This version of 'pycares' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/pycares/3.0.0/a=linux_armv7l;xa=cp37m;xf=bdist_wheel;xn=pycares;xv=cp37/?render=true" alt="This version of 'pycares' @ Cloudsmith" /></a>

rendered as: This version of 'pycares' @ Cloudsmith

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

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

rendered as: Latest version of 'pycares' @ Cloudsmith

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

To install/use pycares @ version 3.0.0 ...

pip install 'pycares==3.0.0'

You can also install the latest version of this package:

pip install --upgrade 'pycares'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
  pycares==3.0.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/
pycares==3.0.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/
pycares==3.0.0
Warning: We highly recommend using pip (or similar) rather than installing directly.
Previous Version
Next Version
Top