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:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  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 by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

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, HuggingFace, 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
 Open-Source ultimaker ultimaker (Ultimaker) / debian-backup Project
A certifiably-awesome open-source package repository curated by Ultimaker, hosted by Cloudsmith.
Note: Packages in this repository are licensed as GNU General Public License v3.0 or later (dependencies may be licensed differently).

Debian logo python-dbusmock  0.18.2-1

One-liner (summary)

mock D-Bus objects for tests (Python 2)

Description

With python-dbusmock you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, ConsoleKit, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests.

Mock objects look like the real API (or at least the parts that you actually need), but they do not actually do anything (or only some action that you specify yourself). You can configure their state, behaviour and responses as you like in your test, without making any assumptions about the real system status.

You can use this with any programming language, as you can run the mocker as a normal program. The actual setup of the mock (adding objects, methods, properties, etc.) all happen via D-Bus methods on the org.freedesktop.DBus.Mock interface. You just don't have the convenience D-Bus launch API that way.

License

Unknown

Size

64.2 KB

Downloads

1

Status  Completed
Checksum (MD5) 8b89cdf21bcd12eacdac18eb291f6678
Checksum (SHA-1) f3e9f20992ec2e8242976d10cd43b5815bee511a
Checksum (SHA-256) bb4b848b74eb919e836c68d078558996ab85c88fabcdac1ce1c2fd99faa10739
Checksum (SHA-512) bdeb15f75e6c7ef9f744cc4547f3f9a1a4acea0e91709679bd9d57511bb4333dd8…
GPG Signature
GPG Fingerprint c0a114330029b468b1146f70c334efcb2c4f9be3
Distribution debian/buster - Debian - 10 (Buster)
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 10 months ago
Uploaded By alex-borro
Slug Id python-dbusmock_0182-1_alldeb-pjh8
Unique Id RRbmCA14e4z1
Version (Raw) 0.18.2-1
Version (Parsed)
  • Major: 0
  • Minor: 18
  • Patch: 2
  • Pre (Str): (empty)
  • Pre (Num Array): 1
  • Type: SemVer (Strict)
  extended metadata
Homepage https://github.com/martinpitt/python-dbusmock/
Installed Size 359.0 KB
Maintainer Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Multi Arch foreign
Priority optional
Section python
pkg python-dbusmock_0.18.2-1_all.deb 1
64.2 KB
md5 sha1 sha256 sha512
Package Contents (python-dbusmock_0.18.2-1_all.deb)
Loading...

This package has 51 files/directories.

Dependencies

6

Checksum (md5)

2fa36e1a32c758d72a18747dd76fe70e

Depends
dbus
Depends
gir1.2-glib-2.0 >=1.32
Depends
python-dbus
Depends
python-gi
Depends
python:any >=2.7~
Depends
python:any <<2.8
Loading...

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 'python-dbusmock' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true)](https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/)
|This version of 'python-dbusmock' @ Cloudsmith|
.. |This version of 'python-dbusmock' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true
   :target: https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/
image::https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true[link="https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/",title="This version of 'python-dbusmock' @ Cloudsmith"]
<a href="https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/"><img src="https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/0.18.2-1/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true" alt="This version of 'python-dbusmock' @ Cloudsmith" /></a>

rendered as: This version of 'python-dbusmock' @ Cloudsmith

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

[![Latest version of 'python-dbusmock' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true&show_latest=true)](https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/)
|Latest version of 'python-dbusmock' @ Cloudsmith|
.. |Latest version of 'python-dbusmock' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true&show_latest=true
   :target: https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/
image::https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true&show_latest=true[link="https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/",title="Latest version of 'python-dbusmock' @ Cloudsmith"]
<a href="https://cloudsmith.io/~ultimaker/repos/debian-backup/packages/detail/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/"><img src="https://api.cloudsmith.com/v1/badges/version/ultimaker/debian-backup/deb/python-dbusmock/latest/a=all;xc=main;d=debian%252Fbuster;t=binary/?render=true&show_latest=true" alt="Latest version of 'python-dbusmock' @ Cloudsmith" /></a>

rendered as: Latest version of 'python-dbusmock' @ Cloudsmith

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

To install/use python-dbusmock @ version 0.18.2-1 ...

To install packages, you can quickly setup the repository automatically (recommended):

curl -1sLf \
  'https://dl.cloudsmith.io/public/ultimaker/debian-backup/setup.deb.sh' \
  | sudo -E bash

If you need to force a specific distribution, release/version, architecture, or component (if supported), you can also do that (e.g. if your system is compatible but not identical):

curl -1sLf \
  'https://dl.cloudsmith.io/public/ultimaker/debian-backup/setup.deb.sh' \
  | sudo -E distro=debian codename=buster arch=ARCH component=COMPONENT bash

or ... you can manually configure it yourself before installing packages:

apt-get install -y debian-keyring  # debian only
apt-get install -y debian-archive-keyring  # debian only
apt-get install -y apt-transport-https
# For Debian Stretch, Ubuntu 16.04 and later
keyring_location=/usr/share/keyrings/ultimaker-debian-backup-archive-keyring.gpg
# For Debian Jessie, Ubuntu 15.10 and earlier
keyring_location=/etc/apt/trusted.gpg.d/ultimaker-debian-backup.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/ultimaker/debian-backup/gpg.C334EFCB2C4F9BE3.key' |  gpg --dearmor >> ${keyring_location}
curl -1sLf 'https://dl.cloudsmith.io/public/ultimaker/debian-backup/config.deb.txt?distro=debian&codename=buster&component=main' > /etc/apt/sources.list.d/ultimaker-debian-backup.list
sudo chmod 644 ${keyring_location}
sudo chmod 644 /etc/apt/sources.list.d/ultimaker-debian-backup.list
apt-get update
sudo apt-get install python-dbusmock=0.18.2-1
Warning: Note that this package is for Debian 10 (Buster) / all and may only work for that configuration.
Previous Version
Next Version
Top