pyfarmhash


Namepyfarmhash JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/veelion/python-farmhash
SummaryGoogle FarmHash Bindings for Python
upload_time2021-12-31 08:23:27
maintainer
docs_urlNone
authorVeelion Chong
requires_python
license
keywords farmhash google
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-farmhash
Google's FarmHash binding for Python


## Overview

This package provides bindings for the [Google's FarmHash](http://code.google.com/p/farmhash/).  
Code specific to this project is covered by [The MIT License](http://opensource.org/licenses/MIT)

## Install

*Update:* Windows binary wheel uploaded to pypi

Currently, clone the repo and:

pip(Linux & Windows):
```bash
$ sudo pip install pyfarmhash  
```

From Source:
```bash
$ cd python-farmhash  
$ sudo python setup.py Install 
```

### Build on Windows:

1. Install Microsoft Visual C++ Compiler
2. Install miniconda for Python

```bash
$ cd python-farmhash
$ sudo python setup.py install
```

## Usage


```
import farmhash  
print farmhash.hash64('abc')  
2640714258260161385  

For more details, use ipython:
In [1]: import farmhash 

In [2]: farmhash.hash64withseed?  
Type:       builtin_function_or_method  
String Form:<built-in function hash64withseed>  
Docstring:  
Hash function for a string.  For convenience, a 64-bit seed is also hashed into the result.  
example: print farmhash.hash64withseed('abc', 12345)  
13914286602242141520L  
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/veelion/python-farmhash",
    "name": "pyfarmhash",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "farmhash,google",
    "author": "Veelion Chong",
    "author_email": "veelion@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c3/7f/256f1954343fc44641d04292e1410470337db3720bd57b510782e449d6db/pyfarmhash-0.3.2.tar.gz",
    "platform": "",
    "description": "# python-farmhash\nGoogle's FarmHash binding for Python\n\n\n## Overview\n\nThis package provides bindings for the [Google's FarmHash](http://code.google.com/p/farmhash/).  \nCode specific to this project is covered by [The MIT License](http://opensource.org/licenses/MIT)\n\n## Install\n\n*Update:* Windows binary wheel uploaded to pypi\n\nCurrently, clone the repo and:\n\npip(Linux & Windows):\n```bash\n$ sudo pip install pyfarmhash  \n```\n\nFrom Source:\n```bash\n$ cd python-farmhash  \n$ sudo python setup.py Install \n```\n\n### Build on Windows:\n\n1. Install Microsoft Visual C++ Compiler\n2. Install miniconda for Python\n\n```bash\n$ cd python-farmhash\n$ sudo python setup.py install\n```\n\n## Usage\n\n\n```\nimport farmhash  \nprint farmhash.hash64('abc')  \n2640714258260161385  \n\nFor more details, use ipython:\nIn [1]: import farmhash \n\nIn [2]: farmhash.hash64withseed?  \nType:       builtin_function_or_method  \nString Form:<built-in function hash64withseed>  \nDocstring:  \nHash function for a string.  For convenience, a 64-bit seed is also hashed into the result.  \nexample: print farmhash.hash64withseed('abc', 12345)  \n13914286602242141520L  \n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Google FarmHash Bindings for Python",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/veelion/python-farmhash"
    },
    "split_keywords": [
        "farmhash",
        "google"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99e7e3c97a5ba709e28db06f89684ad54e740efcdf8235cecc9ae2626b3188d2",
                "md5": "22696f1245eb1add1626885affc2adfb",
                "sha256": "dc3ef74dc64a19bb325d85749e0a7955ebaa6777d7cc357bfa4ba6e5864a4362"
            },
            "downloads": -1,
            "filename": "pyfarmhash-0.3.2-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "22696f1245eb1add1626885affc2adfb",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 14375,
            "upload_time": "2022-01-14T08:24:53",
            "upload_time_iso_8601": "2022-01-14T08:24:53.827506Z",
            "url": "https://files.pythonhosted.org/packages/99/e7/e3c97a5ba709e28db06f89684ad54e740efcdf8235cecc9ae2626b3188d2/pyfarmhash-0.3.2-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9d69c4ce7badf4a92b721a0593f1a21a600e5d9d6e1b890b10ba6a5458a937cc",
                "md5": "b1ee6c62fd2946d4443a566d24c67a38",
                "sha256": "ea0394094509eff756e093cd7a32d6c91d7e40afce941a00c3cf5980f2d9d0dd"
            },
            "downloads": -1,
            "filename": "pyfarmhash-0.3.2-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "b1ee6c62fd2946d4443a566d24c67a38",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 14331,
            "upload_time": "2021-12-31T08:17:40",
            "upload_time_iso_8601": "2021-12-31T08:17:40.813480Z",
            "url": "https://files.pythonhosted.org/packages/9d/69/c4ce7badf4a92b721a0593f1a21a600e5d9d6e1b890b10ba6a5458a937cc/pyfarmhash-0.3.2-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e4f0c7dddbb43e6da3be80c52182555951636c541a2bad5d7a4418e59a6d6e3",
                "md5": "0c49e354df0183789856601acfd48ac5",
                "sha256": "00eadc04a0a0595fbf05bf430bac3baf9788e00b3abcdd26cd478b4b3c244837"
            },
            "downloads": -1,
            "filename": "pyfarmhash-0.3.2-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "0c49e354df0183789856601acfd48ac5",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 14408,
            "upload_time": "2021-12-31T08:17:42",
            "upload_time_iso_8601": "2021-12-31T08:17:42.824609Z",
            "url": "https://files.pythonhosted.org/packages/0e/4f/0c7dddbb43e6da3be80c52182555951636c541a2bad5d7a4418e59a6d6e3/pyfarmhash-0.3.2-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ed3659f24a6636df197d804db194f764bd3489d037b66a06f4f750eb6b14e60",
                "md5": "1ea4f2ff06b5da942d358cd441f8be45",
                "sha256": "9c125ffdf317672996e63e98bf1e84d0829fc2a85db3304ca62f873767bc0abf"
            },
            "downloads": -1,
            "filename": "pyfarmhash-0.3.2-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1ea4f2ff06b5da942d358cd441f8be45",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 14372,
            "upload_time": "2021-12-31T08:17:44",
            "upload_time_iso_8601": "2021-12-31T08:17:44.520788Z",
            "url": "https://files.pythonhosted.org/packages/7e/d3/659f24a6636df197d804db194f764bd3489d037b66a06f4f750eb6b14e60/pyfarmhash-0.3.2-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c37f256f1954343fc44641d04292e1410470337db3720bd57b510782e449d6db",
                "md5": "80206957815e75aaa674d23a36ef7443",
                "sha256": "4146308a0ed0b37d69003199c90fa59b155666c9deb0249b40e594cee10551ea"
            },
            "downloads": -1,
            "filename": "pyfarmhash-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "80206957815e75aaa674d23a36ef7443",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 99890,
            "upload_time": "2021-12-31T08:23:27",
            "upload_time_iso_8601": "2021-12-31T08:23:27.642297Z",
            "url": "https://files.pythonhosted.org/packages/c3/7f/256f1954343fc44641d04292e1410470337db3720bd57b510782e449d6db/pyfarmhash-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-12-31 08:23:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "veelion",
    "github_project": "python-farmhash",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyfarmhash"
}
        
Elapsed time: 0.07557s