mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-08-16 11:14:18 +08:00
Added scipy to the setup.py requirements, sync authors
This commit is contained in:
committed by
Madison May
parent
736120c103
commit
690795b32c
@@ -21,3 +21,4 @@ v0.4.15, Sat Dec 20 -- Bug fix release
|
|||||||
v0.5.0, Friday Feb 27 -- Updated to support private cloud, allows for indicorc file to reduce redundant authorization calls, README updates
|
v0.5.0, Friday Feb 27 -- Updated to support private cloud, allows for indicorc file to reduce redundant authorization calls, README updates
|
||||||
v0.5.1, Friday Feb 27 -- More README updates, fixed rst formatting issue, added classifiers
|
v0.5.1, Friday Feb 27 -- More README updates, fixed rst formatting issue, added classifiers
|
||||||
v0.5.2, Tue March 7 -- Required API keys, configuration settings
|
v0.5.2, Tue March 7 -- Required API keys, configuration settings
|
||||||
|
v0.5.3, Wed Apr 15 -- Added scipy to requirements, edited Readme to not break pypi page
|
||||||
+6
-3
@@ -54,7 +54,8 @@ Examples
|
|||||||
>>> indicoio.config.api_key = "YOUR_API_KEY"
|
>>> indicoio.config.api_key = "YOUR_API_KEY"
|
||||||
|
|
||||||
>>> political("Guns don't kill people. People kill people.")
|
>>> political("Guns don't kill people. People kill people.")
|
||||||
{u'Libertarian': 0.47740164630834825, u'Green': 0.08454409540443657, u'Liberal': 0.16617097211030055, u'Conservative': 0.2718832861769146}
|
{u'Libertarian': 0.47740164630834825, u'Green': 0.08454409540443657,
|
||||||
|
u'Liberal': 0.16617097211030055, u'Conservative': 0.2718832861769146}
|
||||||
|
|
||||||
>>> sentiment('Worst movie ever.')
|
>>> sentiment('Worst movie ever.')
|
||||||
0.07062467665597527
|
0.07062467665597527
|
||||||
@@ -75,13 +76,15 @@ Examples
|
|||||||
>>> test_face = np.linspace(0,50,48*48).reshape(48,48).tolist()
|
>>> test_face = np.linspace(0,50,48*48).reshape(48,48).tolist()
|
||||||
|
|
||||||
>>> fer(test_face)
|
>>> fer(test_face)
|
||||||
{u'Angry': 0.08843749137458341, u'Sad': 0.39091163159204684, u'Neutral': 0.1947947999669361, u'Surprise': 0.03443785859010413, u'Fear': 0.17574534848440568, u'Happy': 0.11567286999192382}
|
{u'Angry': 0.08843749137458341, u'Sad': 0.39091163159204684, u'Neutral': 0.1947947999669361,
|
||||||
|
u'Surprise': 0.03443785859010413, u'Fear': 0.17574534848440568, u'Happy': 0.11567286999192382}
|
||||||
|
|
||||||
>>> facial_features(test_face)
|
>>> facial_features(test_face)
|
||||||
[0.0, -0.02568680526917187, 0.21645604230056517, ..., 3.0342637531932777]
|
[0.0, -0.02568680526917187, 0.21645604230056517, ..., 3.0342637531932777]
|
||||||
|
|
||||||
>>> language('Quis custodiet ipsos custodes')
|
>>> language('Quis custodiet ipsos custodes')
|
||||||
{u'Swedish': 0.00033330636691921914, u'Lithuanian': 0.007328693814717631, u'Vietnamese': 0.0002686116137658802, u'Romanian': 8.133913804076592e-06, ...}
|
{u'Swedish': 0.00033330636691921914, u'Lithuanian': 0.007328693814717631,
|
||||||
|
u'Vietnamese': 0.0002686116137658802, u'Romanian': 8.133913804076592e-06, ...}
|
||||||
|
|
||||||
Batch API Access
|
Batch API Access
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ numpy>=1.8.0
|
|||||||
six>=1.3.0
|
six>=1.3.0
|
||||||
scikit-image>=0.10.1
|
scikit-image>=0.10.1
|
||||||
requests>=2.2.1
|
requests>=2.2.1
|
||||||
|
scipy>=0.14.0
|
||||||
@@ -8,7 +8,7 @@ except ImportError:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="IndicoIo",
|
name="IndicoIo",
|
||||||
version='0.5.2',
|
version='0.5.3',
|
||||||
packages=[
|
packages=[
|
||||||
"indicoio",
|
"indicoio",
|
||||||
"indicoio.text",
|
"indicoio.text",
|
||||||
@@ -28,8 +28,8 @@ setup(
|
|||||||
Alec Radford <alec@indico.io>,
|
Alec Radford <alec@indico.io>,
|
||||||
Slater Victoroff <slater@indico.io>,
|
Slater Victoroff <slater@indico.io>,
|
||||||
Aidan McLaughlin <aidan@indico.io>,
|
Aidan McLaughlin <aidan@indico.io>,
|
||||||
|
Madison May <madison@indico.io>,
|
||||||
Anne Carlson <annie@indico.io>
|
Anne Carlson <annie@indico.io>
|
||||||
|
|
||||||
""",
|
""",
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
@@ -53,6 +53,7 @@ setup(
|
|||||||
"requests >= 1.2.3",
|
"requests >= 1.2.3",
|
||||||
"six >= 1.3.0",
|
"six >= 1.3.0",
|
||||||
"numpy >= 1.8.1",
|
"numpy >= 1.8.1",
|
||||||
|
"scipy >= 0.14.0",
|
||||||
"scikit-image >= 0.10.1",
|
"scikit-image >= 0.10.1",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user