{"id":16341561,"url":"https://github.com/psibi/pyuclassify","last_synced_at":"2025-03-23T00:32:30.864Z","repository":{"id":3451882,"uuid":"4505365","full_name":"psibi/pyuClassify","owner":"psibi","description":"Python Wrapper for accessing uClassify services","archived":false,"fork":false,"pushed_at":"2017-04-02T16:50:56.000Z","size":31,"stargazers_count":19,"open_issues_count":3,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-29T06:03:08.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psibi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-31T08:26:33.000Z","updated_at":"2023-11-16T04:17:11.000Z","dependencies_parsed_at":"2022-09-14T16:41:49.924Z","dependency_job_id":null,"html_url":"https://github.com/psibi/pyuClassify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2FpyuClassify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2FpyuClassify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2FpyuClassify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2FpyuClassify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psibi","download_url":"https://codeload.github.com/psibi/pyuClassify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040235,"owners_count":20551297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:59:46.156Z","updated_at":"2025-03-23T00:32:30.291Z","avatar_url":"https://github.com/psibi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyuClassify\n------------\n\nPython Wrapper for accessing uClassify services.\n\nCurrently supports following operation:\n\n1. Creates Classifier\n2. Classify\n3. Classify Keywords\n4. getInformation\n5. addClass\n6. removeClass\n7. Train\n8. Untrain\n9. removeClassifier \n\nInstallation:\n-------------\n\nIt is very easy to install pyuClassify.\n\n    \t(pip install | easy_install) uclassify\n\n... or in the traditional way:\n\n    \t$ git clone git://github.com/psibi/pyuClassify.git\n    \t$ cd uclassify\n    \t$ sudo python setup.py install\n\n\nUsage:\n------\n\nAn example of how to use the API.\n\n    \tfrom uclassify import uclassify\n\n    \ta = uclassify()\n    \ta.setWriteApiKey(WRITE_API_KEY)\n    \ta.setReadApiKey(READ_API_KEY)\n\t\n    \ta.create(\"ManorWoman\") #Creates Classifier named \"ManorWoman\"\n\n    \ta.addClass([\"man\",\"woman\"],\"ManorWoman\") #Adds two class named \"man\" and \"woman\" to the classifier \"ManorWoman\"\n\n    \ta.train([\"Her hair is so nice!!\",\"I wish I had more cosmetic.\",\"I like those ice creams.\"],\"woman\",\"ManorWoman\")\n    \t#The above function trains three sentences for the class \"woman\" on the classifier \"ManorWoman\"\n    \t\n    \td = a.classify([\"sample text1\",\"sample text2\"],\"ManorWoman\")\n    \t#Now the list d will contain the following value [('sample text1', u'0', [(u'man', u'0.5'), (u'woman', u'0.5')]), ('sample text2', u'0', [(u'man', u'0.5'), (u'woman', u'0.5')])]\n\n\nLicense:\n--------\nGNU General Public License v3 (GPLv3)\n\nBug Report:\n-----------\nIssue it here: https://github.com/psibi/pyuClassify/issues\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fpyuclassify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsibi%2Fpyuclassify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fpyuclassify/lists"}