Skip to main content

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))

Keywords

import json
from nektar import Waggle
from scrutineer import get_keywords, get_bigrams

hive = Waggle("username")
for blog in hive.blogs(limit=5)
    keywords = get_keywords(blog["body"])
    print("\nget_keywords" + json.dumps(keywords))
    
    keywords = get_bigrams(blog["body"])
    print("\nget_bigrams:" + json.dumps(keywords))

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: 0.02782490011304617
AVG: 0.13722777900053187
MAX: 4.033556599984877

We've also seen a 70% import speed increase, in the said profiling.

Metadata

Release files for hive-scrutineer 1.3.18

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

Source distribution (sdist)

Source distribution for hive-scrutineer 1.3.18
File Size Uploaded Provenance Actions
hive-scrutineer-1.3.18.tar.gz 8.3 kB Without provenance Details for hive-scrutineer-1.3.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hive-scrutineer 1.3.18
File Interpreter ABI Platform Actions
hive_scrutineer-1.3.18-py3-none-any.whl Python 3 none any Details for hive_scrutineer-1.3.18-py3-none-any.whl

Total release size: 17.2 kB

Release files / hive-scrutineer-1.3.18.tar.gz

Download URL hive-scrutineer-1.3.18.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
754f6c695f0b9e35f5a629ddddec8b6c1e38b7cce2e6e1d1d30af2524c3a710d
BLAKE2b-256 checksum
How to use checksums
ad9a72975df7c945b99ba9e9f1c6eb6a1e432d892972576ece4c6be7d0cbcd4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / hive_scrutineer-1.3.18-py3-none-any.whl

Download URL hive_scrutineer-1.3.18-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efc922b77163cab951e62a93a06e8a6be24d29f928ca740ec08d23b5a21a44a0
BLAKE2b-256 checksum
How to use checksums
7a58e2e84daf0dea22b745ab2ab3a579686d8d61c75b19df3664c5c02289e60a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for hive-scrutineer 1.3.18

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

1.3.18 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