Performance and quality analytics on Hive Posts.
Project description
scrutineer
Hive Post performance and quality analytics.
Installation
$ pip install hive-scrutineer
Supported Python versions 3.10+.
Blockchain Support
Limited support to Hive Blockchain HF27.
Basic usage
from scrutineer import Scrutineer
analyzer = Scrutineer()
analyzer.set_weights()
analysis = analyzer.analyze("author", "post-permlink")
Customizations
import json
from nektar import Waggle
from scrutineer import Scrutineer
hive = Waggle("username")
analyzer = Scrutineer(minimum_score=10, max_emojis=0, deep=True, full=False)
analyzer.set_weights(title=5, body=6, emojis=4, images=2, tagging=3, tags=1)
for blog in hive.blogs(limit=5)
analysis = analyzer.analyze(blog)
print(json.dumps(analysis, indent=2))
Performance
In version 1.3.0
, we've migrated to langdetect
to speed up Scrutineer.analyze()
by more than 300x versus version 1.2.*
!
MIN: 1.8852958001662046 seconds
AVG: 2.3002824100200088 seconds
MAX: 4.7612034999765460 seconds
We've also seen a 70% import speed increase, in the said profiling.
Project details
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
hive-scrutineer-1.3.4.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for hive_scrutineer-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88882de267bbcbe99fa88070a1b9ec5f7f786c5fb84118c0fc844a1b67ef6cd8 |
|
MD5 | 9987aea913dede53c1de3362aff20798 |
|
BLAKE2b-256 | f52af827e6e0233674b00e9aac9bb3b2d80b48d632508e15c7eac935e89f93a2 |