Skip to main content

A Python client library to interact with a Mooltipass device via Moolticuted WebSocket.

Description

This project provides a Python library for interacting with Mooltipass devices through the Moolticuted daemon. It allows you to manage logins, get/set passwords, and more.

Features

  • Real-time communication with the Mooltipass device via moolticuted WebSocket.
  • Convenience methods for common use cases, like getting passwords or setting credentials.
  • CLI usage

Installation

pip install moolticutepy

Library Usage

To use this library, simply import it into your Python project and start using its functions. For example:

client = MoolticuteClient()

# Get a password for a specific service
response = client.get_password("example.com")
password = response.data.password

# Set a new credential for another service
response = client.set_password(
    "other.example.com",
    password="new_password",
    login="username",
    description="A description"
)

CLI

The moolticutepy CLI provides a command-line interface to interact with your Mooltipass device. It allows you to list, get, and set passwords for various services.

Commands

list_logins

Lists all logins stored on the Mooltipass device.

Usage: list_logins

Example:

$ moolticutepy list_logins
Entering management mode. Please approve prompt on device ...[OK]
- example.com []:
     * {'category': '0', 'date_created': '2024-07-30', 'date_last_used': '2024-07-30', 'description': 'description', 'favorite': -1, 'login': 'user@example.com'}
     * {'category': '0', 'date_created': '2024-07-30', 'date_last_used': '2024-07-30', 'description': 'description', 'favorite': -1, 'login': 'other.user@example.com'}
- other.example.com []:
     * {'category': '2', 'date_created': '', 'date_last_used': '2024-09-04', 'description': 'description', 'favorite': 20, 'login': 'username@example.com'}

get

Retrieves a password for a specific service.

Usage: get <service> [-f|--fallback-service <fallback_service>] [-l|--login <login>]

  • <service>: the name of the service (required)
  • -f or --fallback-service: an optional fallback service to use if the primary service is not available
  • -l or --login: an optional login to use with the password

Example:

$ moolticutepy get private.example.com -f example.com
password123

set

Sets a password for a specific service.

Usage: set <service> [-l|--login <login>] [-p|--password <password>] [-d|--description <description>]

  • <service>: the name of the service (required)
  • -l or --login: an optional login to associate with the password
  • -p or --password: the new password to set (optional, will prompt for input if not provided)
  • -d or --description: an optional description to store with the password

Example:

$ moolticutepy set example.com -l admin -p newPassword123
Credentials stored for example.com [OK]

License

This project is licensed under the MIT License.

Metadata

Release files for moolticutepy 0.3.4

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

Source distribution (sdist)

Source distribution for moolticutepy 0.3.4
File Size Uploaded Provenance Actions
moolticutepy-0.3.4.tar.gz 8.8 kB Without provenance Details for moolticutepy-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moolticutepy 0.3.4
File Interpreter ABI Platform Actions
moolticutepy-0.3.4-py3-none-any.whl Python 3 none any Details for moolticutepy-0.3.4-py3-none-any.whl

Total release size: 18.5 kB

Release files / moolticutepy-0.3.4.tar.gz

Download URL moolticutepy-0.3.4.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9fa1dd667786b6a9697f7afa15baf2fbad5efe8153227c307637a8d607f100e
BLAKE2b-256 checksum
How to use checksums
4e0069d815700e3e2f002b5caadc0e9db033bfc4a0960ee2f1741b38150f32ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / moolticutepy-0.3.4-py3-none-any.whl

Download URL moolticutepy-0.3.4-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2843ed8afcfe836eadc2413f8002843cc6ff898ce54a798519df826153d303c
BLAKE2b-256 checksum
How to use checksums
1a1d16b0008768a97972ba25a6be810e2470d86ecec0ed80a34e3c953b47f687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Security for moolticutepy 0.3.4

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.

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files No provenance

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