Skip to main content

sherlockbikepy

This Python library implements the sherlock.bike API. It has been reverse engineered from the Android app.

Installation

pip install sherlockbikepy

Code snippet

from sherlockbikepy import Sherlock

# Login
sh = Sherlock('user@example.com', 'supaSecretPassw0rd')

# Get devices
sh.devices
# > [<sherlockbikepy.device.SherlockDevice at 0x7fa840410400>]

# Primary device (ie. the first one)
sh.primary_device
# > <sherlockbikepy.device.SherlockDevice at 0x7fa840421b38>

# Device state
sh.primary_device.state
# > 'ON'

# Device location (only available if currently armed ie. "ON")
sh.primary_device.location
# >  Position(latitude=20.6297038,
# >           longitude=2.8123654,
# >           last_update=datetime.datetime(2018, 9, 22, 15, 55, 42))

Metadata

Release files for sherlockbikepy 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sherlockbikepy 0.2.0
File Size Uploaded Provenance Actions
sherlockbikepy-0.2.0.tar.gz 3.7 kB Without provenance Details for sherlockbikepy-0.2.0.tar.gz

Release files / sherlockbikepy-0.2.0.tar.gz

Download URL sherlockbikepy-0.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
340f0fa1e6d7522e77f0df67d26e1d816befb3601045dd4eab9b7a9b93ed18fc
BLAKE2b-256 checksum
How to use checksums
db643c1e2dd5c3deb22c27320c932bfd3d4aaea6058086dddbf03f12eae1bde1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Security for sherlockbikepy 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page