miniflux 1.1.3
pip install miniflux
Released:
Client library for Miniflux
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (The MIT License (MIT))
- Author: Frédéric Guillot
- Tags rss, atom, rdf, jsonfeed, feed, miniflux
- Requires: Python >=3.8
Classifiers
- Intended Audience
- License
- Programming Language
Project description
Miniflux Python API Client
Python client library for Miniflux.
Requirements
- Miniflux >= 2.0.49
- Python >= 3.8
- requests
This project uses Ruff for linting and formatting.
Installation
python3 -m pip install miniflux
Running Tests
python3 -m unittest -v
Examples
import miniflux
# Creating a client using username / password authentication
client = miniflux.Client("https://miniflux.example.org", username="my_username", password="my_secret_password")
# Use an API Key (preferred method)
client = miniflux.Client("https://miniflux.example.org", api_key="My secret API token")
# Get all feeds
feeds = client.get_feeds()
# Refresh a feed
client.refresh_feed(123)
# Discover subscriptions from a website
subscriptions = client.discover("https://example.org")
# Create a new feed, with a personalized user agent and with the crawler enabled
feed_id = client.create_feed("http://example.org/feed.xml", category_id=42, crawler=True, user_agent="GoogleBot")
# Fetch 10 starred entries
entries = client.get_entries(starred=True, limit=10)
# Fetch last 5 feed entries
feed_entries = client.get_feed_entries(123, direction='desc', order='published_at', limit=5)
# Fetch entries that belongs to a category with status unread and read
entries = client.get_entries(category_id=456, status=['read', 'unread'])
# Update entry title and content
client.update_entry(entry_id=1234, title="New title", content="New content")
# Update a feed category
client.update_feed(123, category_id=456)
# OPML Export
opml = client.export_feeds()
# OPML import
client.import_feeds(opml_data)
# Get application version
client.get_version()
# Flush history
client.flush_history()
# Get current user
myself = client.me()
You can also use a context manager:
import miniflux
with miniflux.Client("https://miniflux.domain.tld", api_key="secret") as clt:
clt.me()
Look at miniflux.py for the complete list of methods.
Author
Frédéric Guillot
License
This library is distributed under MIT License.
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (The MIT License (MIT))
- Author: Frédéric Guillot
- Tags rss, atom, rdf, jsonfeed, feed, miniflux
- Requires: Python >=3.8
Classifiers
- Intended Audience
- License
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file miniflux-1.1.3.tar.gz
.
File metadata
- Download URL: miniflux-1.1.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac46dd24f50b1fe3dfaf50f5d18ecdd77dc6128bc75fea805866bbe975015324 |
|
MD5 | 926e35cbe5f9987d5bacc66b6798d046 |
|
BLAKE2b-256 | 6e896834b30a8310279a45e3ccc870644c80b9fa9af2b344814f84f514210015 |
Provenance
The following attestation bundles were made for miniflux-1.1.3.tar.gz
:
Publisher:
publish.yml
on miniflux/python-client
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
miniflux-1.1.3.tar.gz
- Subject digest:
ac46dd24f50b1fe3dfaf50f5d18ecdd77dc6128bc75fea805866bbe975015324
- Sigstore transparency entry: 165719547
- Sigstore integration time:
- Permalink:
miniflux/python-client@ea37d98bfc866f71b1f69536f8031c69e3cf55fd
- Branch / Tag:
refs/tags/1.1.3
- Owner: https://github.com/miniflux
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yml@ea37d98bfc866f71b1f69536f8031c69e3cf55fd
- Trigger Event:
push
- Statement type:
File details
Details for the file miniflux-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: miniflux-1.1.3-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb3f72a44ce76cde6b0acec79973ab067364048263fb82349fc9b0a69943d6db |
|
MD5 | 6b01a1087a73ab4fca18cbb00b6403db |
|
BLAKE2b-256 | 6b91e3c2a0a36263f6d0bf26cd893f1efcd78f20443cd85a269d9b65078aaff6 |
Provenance
The following attestation bundles were made for miniflux-1.1.3-py3-none-any.whl
:
Publisher:
publish.yml
on miniflux/python-client
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
miniflux-1.1.3-py3-none-any.whl
- Subject digest:
bb3f72a44ce76cde6b0acec79973ab067364048263fb82349fc9b0a69943d6db
- Sigstore transparency entry: 165719549
- Sigstore integration time:
- Permalink:
miniflux/python-client@ea37d98bfc866f71b1f69536f8031c69e3cf55fd
- Branch / Tag:
refs/tags/1.1.3
- Owner: https://github.com/miniflux
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yml@ea37d98bfc866f71b1f69536f8031c69e3cf55fd
- Trigger Event:
push
- Statement type: