GrabMyMemos
A minimal Python wrapper for the Memos API, providing simple read-only access to your notes.
Requires Memos 0.31 or newer (Spaces support).
Usage
from pathlib import Path
import grabmymemos as gmm
gmm.config(base_url="https://memos.example.com",
token=Path.home() / ".config" / "grabmymemos" / "memos.token",
space="Blog")
memos = gmm.fetch_all() # every PUBLIC memo of the "Blog" space
latest = gmm.fetch(limit=6) # paginated: call again for the next page
tagged = gmm.fetch_all(tags=["travel", "photo"])
Spaces
space is required. It can be:
- a Space title (case-insensitive), a Space uid, or a resource name such as
spaces/abc123; - a list of those, for example
space=["Blog", "Photos"], which merges the memos of all the listed Spaces; "*", which fetches memos from every Space (no Space filter).
The token owner must be an active member of each Space named in space, otherwise Memos rejects the request.
Visibility
By default only PUBLIC memos are fetched. You can include other visibilities:
gmm.config(..., space="Blog", visibility=["PUBLIC", "SPACE"])
Allowed values are PUBLIC, PROTECTED, PRIVATE and SPACE.
Returned fields
Each memo is a dict with name, display_time, create_time, update_time, title, content,
attachments, image, tags, space and url.
Memos 0.31 removed displayTime, so display_time equals create_time on those servers.
Metadata
Release files for grabmymemos 26.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grabmymemos-26.9.0.tar.gz | 5.4 kB | Without provenance | Details for grabmymemos-26.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grabmymemos-26.9.0-py3-none-any.whl | Python 3 | none | any | Details for grabmymemos-26.9.0-py3-none-any.whl |
Total release size: 12.3 kB
Release files / grabmymemos-26.9.0.tar.gz
| Download URL | grabmymemos-26.9.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef308636cd3e0773eda69d0f9bb11db749707bd9fa0e0d1a9554f76fc5a75115
|
|
BLAKE2b-256 checksum How to use checksums |
5b16e09c4f0a5bca5741ea420cc8ef64076c9f52b750956d9867b8c6cab08c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Release files / grabmymemos-26.9.0-py3-none-any.whl
| Download URL | grabmymemos-26.9.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5040f9e23b153429449ebe76ab8068beab84988f4720964e8c1f41f48a2a3ea
|
|
BLAKE2b-256 checksum How to use checksums |
9e80cdd0245ed26af42444ae070ac09913e3c6c8e5eb1085aca5d4373e2a25d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Security for grabmymemos 26.9.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.