phoning-home


Namephoning-home JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Abdur-RahmaanJ/phoning-home
SummaryPhoning home, analytics and storage with 0 setup.
upload_time2023-07-15 07:25:28
maintainer
docs_urlNone
authorAbdur-Rahmaan Janhangeer
requires_python>=3.4
license
keywords phoning-home analytics cloud storage
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # phoning-home

Phoning home provides out of the box capabilities
to phone home for security, analytics, gaming and reporting
with in-built consent mechanism. 
No server setups needed, only [Turso](https://turso.tech/) atm.


# Demo

```py
from phoning_home import ph

# url, token
ph.connect('http://url.turso.io', 't0k3nfh734tr673gqi78rytg3q34786') # use env vars

# Increment counters
@ph.counter('ZIP_DWNLDS')
def download_zipfile():
    # code for downloading zip file
    ...
count = ph.fetch('counter', 'ZIP_DWNLDS') 

# Leaderboard
ph.leaderboard('scrabble-123', 'yus', 100)
leaderboard = ph.fetch('leaderboard', 'scrabble-123')

# Send a deluge of kv values 
ph.info({
    'version': '1.2.3',
    'os': 'linux'
})
info = ph.fetch('info')

# Or namespace it
data = {
    'name': 'Miaw Spoogle',
    'username': 'purr678'
}
ph.namedinfo('USER_INFO', data)
namedinfo = ph.fetch('namedinfo', 'USER_INFO')
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Abdur-RahmaanJ/phoning-home",
    "name": "phoning-home",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": "",
    "keywords": "phoning-home analytics cloud storage",
    "author": "Abdur-Rahmaan Janhangeer",
    "author_email": "arj.python@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a8/c5/37fc81e2eac83ac2c8e112467c61405ce89c8aaff8b972b41c6f24328211/phoning-home-0.1.0.tar.gz",
    "platform": null,
    "description": "# phoning-home\n\nPhoning home provides out of the box capabilities\nto phone home for security, analytics, gaming and reporting\nwith in-built consent mechanism. \nNo server setups needed, only [Turso](https://turso.tech/) atm.\n\n\n# Demo\n\n```py\nfrom phoning_home import ph\n\n# url, token\nph.connect('http://url.turso.io', 't0k3nfh734tr673gqi78rytg3q34786') # use env vars\n\n# Increment counters\n@ph.counter('ZIP_DWNLDS')\ndef download_zipfile():\n    # code for downloading zip file\n    ...\ncount = ph.fetch('counter', 'ZIP_DWNLDS') \n\n# Leaderboard\nph.leaderboard('scrabble-123', 'yus', 100)\nleaderboard = ph.fetch('leaderboard', 'scrabble-123')\n\n# Send a deluge of kv values \nph.info({\n    'version': '1.2.3',\n    'os': 'linux'\n})\ninfo = ph.fetch('info')\n\n# Or namespace it\ndata = {\n    'name': 'Miaw Spoogle',\n    'username': 'purr678'\n}\nph.namedinfo('USER_INFO', data)\nnamedinfo = ph.fetch('namedinfo', 'USER_INFO')\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Phoning home, analytics and storage with 0 setup.",
    "version": "0.1.0",
    "project_urls": {
        "Bug Reports": "https://github.com/Abdur-RahmaanJ/phoning-home/issues",
        "Homepage": "https://github.com/Abdur-RahmaanJ/phoning-home",
        "Source": "https://github.com/Abdur-RahmaanJ/phoning-home/"
    },
    "split_keywords": [
        "phoning-home",
        "analytics",
        "cloud",
        "storage"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8c537fc81e2eac83ac2c8e112467c61405ce89c8aaff8b972b41c6f24328211",
                "md5": "2509d3acefc9a83b1fa651e3f374c3a3",
                "sha256": "bf016caa65002500add465357211310d0e07850b0aaa95328c410ebd4888f79b"
            },
            "downloads": -1,
            "filename": "phoning-home-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2509d3acefc9a83b1fa651e3f374c3a3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 10623,
            "upload_time": "2023-07-15T07:25:28",
            "upload_time_iso_8601": "2023-07-15T07:25:28.382896Z",
            "url": "https://files.pythonhosted.org/packages/a8/c5/37fc81e2eac83ac2c8e112467c61405ce89c8aaff8b972b41c6f24328211/phoning-home-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-15 07:25:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Abdur-RahmaanJ",
    "github_project": "phoning-home",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "phoning-home"
}
        
Elapsed time: 0.11989s