hive-scrutineer


Namehive-scrutineer JSON
Version 1.3.17 PyPI version JSON
download
home_page
SummaryPerformance and quality analytics on Hive Posts.
upload_time2023-02-02 14:17:36
maintainer
docs_urlNone
authorRodney Maniego Jr.
requires_python>=3.10
licenseLICENSE.txt
keywords hive blockchain seo quality analytics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # scrutineer
Hive Post performance and quality analytics.

## Installation

```cmd
$ pip install hive-scrutineer
```

Supported Python versions 3.10+.

## Blockchain Support
Limited support to Hive Blockchain HF27.

## Basic usage

```python
from scrutineer import Scrutineer

analyzer = Scrutineer()
analyzer.set_weights()
analysis = analyzer.analyze("author", "post-permlink")
```

## Customizations

```python
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

```python
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.*`!
```cmd
MIN: 0.02782490011304617
AVG: 0.13722777900053187
MAX: 4.033556599984877
```
We've also seen a 70% import speed increase, in the said profiling.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "hive-scrutineer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "hive,blockchain,seo,quality,analytics",
    "author": "Rodney Maniego Jr.",
    "author_email": "rodney.maniegojr@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d8/c0/437df8b9bff5044521c6babb9180f114fb95a76f6b9bbae1129832d403e5/hive-scrutineer-1.3.17.tar.gz",
    "platform": null,
    "description": "# scrutineer\nHive Post performance and quality analytics.\n\n## Installation\n\n```cmd\n$ pip install hive-scrutineer\n```\n\nSupported Python versions 3.10+.\n\n## Blockchain Support\nLimited support to Hive Blockchain HF27.\n\n## Basic usage\n\n```python\nfrom scrutineer import Scrutineer\n\nanalyzer = Scrutineer()\nanalyzer.set_weights()\nanalysis = analyzer.analyze(\"author\", \"post-permlink\")\n```\n\n## Customizations\n\n```python\nimport json\nfrom nektar import Waggle\nfrom scrutineer import Scrutineer\n\nhive = Waggle(\"username\")\n\nanalyzer = Scrutineer(minimum_score=10, max_emojis=0, deep=True, full=False)\nanalyzer.set_weights(title=5, body=6, emojis=4, images=2, tagging=3, tags=1)\n\nfor blog in hive.blogs(limit=5)\n    analysis = analyzer.analyze(blog)\n    print(json.dumps(analysis, indent=2))\n```\n\n## Keywords\n\n```python\nimport json\nfrom nektar import Waggle\nfrom scrutineer import get_keywords, get_bigrams\n\nhive = Waggle(\"username\")\nfor blog in hive.blogs(limit=5)\n    keywords = get_keywords(blog[\"body\"])\n    print(\"\\nget_keywords\" + json.dumps(keywords))\n    \n    keywords = get_bigrams(blog[\"body\"])\n    print(\"\\nget_bigrams:\" + json.dumps(keywords))\n```\n\n## Performance\nIn version `1.3.0`, we've migrated to `langdetect` to speed up `Scrutineer.analyze()` by more than 300x versus version `1.2.*`!\n```cmd\nMIN: 0.02782490011304617\nAVG: 0.13722777900053187\nMAX: 4.033556599984877\n```\nWe've also seen a 70% import speed increase, in the said profiling.\n",
    "bugtrack_url": null,
    "license": "LICENSE.txt",
    "summary": "Performance and quality analytics on Hive Posts.",
    "version": "1.3.17",
    "split_keywords": [
        "hive",
        "blockchain",
        "seo",
        "quality",
        "analytics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8312cfcfdf0f22279ddb60b5737aca934b3776a7bef743c0e84cff5ee37c4b2b",
                "md5": "c2f9ce05eca0d16eb6d4afa465803370",
                "sha256": "6bb86edc565601b7d49bb4512ba672693f45c2612396af5dad9cd4530ffd4b93"
            },
            "downloads": -1,
            "filename": "hive_scrutineer-1.3.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c2f9ce05eca0d16eb6d4afa465803370",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 8885,
            "upload_time": "2023-02-02T14:17:34",
            "upload_time_iso_8601": "2023-02-02T14:17:34.490472Z",
            "url": "https://files.pythonhosted.org/packages/83/12/cfcfdf0f22279ddb60b5737aca934b3776a7bef743c0e84cff5ee37c4b2b/hive_scrutineer-1.3.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8c0437df8b9bff5044521c6babb9180f114fb95a76f6b9bbae1129832d403e5",
                "md5": "08fbb9244fcc4cd032cd575b64198d74",
                "sha256": "77cc328a12f112a9141268a3b157411a31cce12505464347e63508bbba57b0aa"
            },
            "downloads": -1,
            "filename": "hive-scrutineer-1.3.17.tar.gz",
            "has_sig": false,
            "md5_digest": "08fbb9244fcc4cd032cd575b64198d74",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8313,
            "upload_time": "2023-02-02T14:17:36",
            "upload_time_iso_8601": "2023-02-02T14:17:36.022072Z",
            "url": "https://files.pythonhosted.org/packages/d8/c0/437df8b9bff5044521c6babb9180f114fb95a76f6b9bbae1129832d403e5/hive-scrutineer-1.3.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-02 14:17:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "hive-scrutineer"
}
        
Elapsed time: 0.05661s