{ "info": { "author": "Hua Jiang,Bingqing Qu", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "murmurhash is a fast hash function ::\n >>> import featurehash\n\t>>> featurehash.hash(\"abc\") #return the hashcode of the string \"abc\"\n\t\t-1277324294\n\t>>> featurehash.transform_feature(\"abc\") #return the code and the sign of hashcode;the code is equal to \"hashcode mod 8388608(2^23) + 1\"\n\t\t(2255879, -1.0)\n\t>>> featurehash.transform_features([\"abc\",\"edf\",\"efd\",\"123\",\"efd\"]) #pass a sequence to the function,return the sorted unique feature code.\n\t\t[124, 2255879, 3759816, 8023169]\n\t>>> featurehash.transform_features([\"abc\",\"edf\",\"efd\",\"123\",\"efd\"],8388607) #pass a sequence and upper_bound;upper_bound default 8388608(2^23)\n\t[124, 2256031, 3760024, 8023393]\n\t>>> featurehash.transform_features([\"abc\",\"edf\",\"efd\",\"123\",\"efd\"],8388607,0) #pass a sequence , upper_bound and min value; min value default 1;\n\t[123, 2256030, 3760023, 8023392]\n\t>>> featurehash.transform_features([\"abc\",\"edf\",\"efd\",\"123\",\"efd\"],8388607,1,1) #pass a sequence , upper_bound, min value and seed; seed value default 0;the same application must must the same seed,ensure the consistent value.\n\t[124, 661165, 3231265, 8317658]\n\nModified by jianghuachinacom@163.com\n\nzsp windows,linux python lib", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "featurehash", "package_url": "https://pypi.org/project/featurehash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/featurehash/", "project_urls": null, "release_url": "https://pypi.org/project/featurehash/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "MurmurHash3 https://code.google.com/p/smhasher/", "version": "1.0.2" }, "last_serial": 1879433, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "386f998680b022c36ca4330af81d68bf", "sha256": "333c6fad4b5ff80d74e492e340eab019c03689c431f68424a750751d410a7ac5" }, "downloads": -1, "filename": "featurehash-1.0.0.tar.gz", "has_sig": false, "md5_digest": "386f998680b022c36ca4330af81d68bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3457, "upload_time": "2015-12-25T03:52:44", "url": "https://files.pythonhosted.org/packages/c0/51/6939895eca7c49c1ba5820bf9e30704a4add141c98e732386c85f9e7b686/featurehash-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "645edf7d94c8f9105b62d8fae9e540f4", "sha256": "a8ba0afb96eb9f336677dc21568b276602a2ed63e2deef8676e53683eabab9d4" }, "downloads": -1, "filename": "featurehash-1.0.1.tar.gz", "has_sig": false, "md5_digest": "645edf7d94c8f9105b62d8fae9e540f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3468, "upload_time": "2015-12-27T05:10:05", "url": "https://files.pythonhosted.org/packages/da/d1/735a9a896eb872de136e1d9a96d475f8d8d9e3c9a5fb6c553040588d388c/featurehash-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "8c3b2ace82c73dfb316c393e7942626a", "sha256": "42ef31e52d9f45468197c1664315ddb7e1284050ee5fa112825dec6c721d693e" }, "downloads": -1, "filename": "featurehash-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8c3b2ace82c73dfb316c393e7942626a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3589, "upload_time": "2015-12-28T05:20:01", "url": "https://files.pythonhosted.org/packages/2a/20/450759e9cac696e191b2cf4abcf1e31c86b4e9b1ee9ccb4bddb6a91baa7f/featurehash-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c3b2ace82c73dfb316c393e7942626a", "sha256": "42ef31e52d9f45468197c1664315ddb7e1284050ee5fa112825dec6c721d693e" }, "downloads": -1, "filename": "featurehash-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8c3b2ace82c73dfb316c393e7942626a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3589, "upload_time": "2015-12-28T05:20:01", "url": "https://files.pythonhosted.org/packages/2a/20/450759e9cac696e191b2cf4abcf1e31c86b4e9b1ee9ccb4bddb6a91baa7f/featurehash-1.0.2.tar.gz" } ] }