guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/14: gnu: Add python-pyechonest.


From: Leo Famulari
Subject: 05/14: gnu: Add python-pyechonest.
Date: Fri, 18 Mar 2016 18:28:17 +0000

lfam pushed a commit to branch master
in repository guix.

commit e8fee6486f6ff6fb498a9baaab3865d4ea08face
Author: Leo Famulari <address@hidden>
Date:   Thu Mar 3 20:01:22 2016 -0500

    gnu: Add python-pyechonest.
    
    * gnu/packages/music.scm (python-pyechonest, python2-pyechonest): New 
variables.
---
 gnu/packages/music.scm |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index a7881d2..ab02d34 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1182,3 +1182,39 @@ MusicBrainz database.")
 
 (define-public python2-musicbrainzngs
   (package-with-python2 python-musicbrainzngs))
+
+(define-public python-pyechonest
+  (package
+    (name "python-pyechonest")
+    (version "9.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyechonest" version))
+              (sha256
+               (base32
+                "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/echonest/pyechonest";)
+    (synopsis "Python interface to The Echo Nest APIs")
+    (description "Pyechonest is an open source Python library for the Echo Nest
+API.  With Pyechonest you have Python access to the entire set of API methods
+including:
+
address@hidden
address@hidden artist - search for artists by name, description, or attribute, 
and get
+back detailed information about any artist including audio, similar artists,
+blogs, familiarity, hotttnesss, news, reviews, urls and video.
address@hidden song - search songs by artist, title, description, or attribute 
(tempo,
+duration, etc) and get detailed information back about each song, such as
+hotttnesss, audio_summary, or tracks.
address@hidden track - upload a track to the Echo Nest and receive summary 
information
+about the track including key, duration, mode, tempo, time signature along with
+detailed track info including timbre, pitch, rhythm and loudness information.
address@hidden enumerate\n")
+    (license license:bsd-3)
+    (properties `((python2-variant . ,(delay python2-pyechonest))))))
+
+(define-public python2-pyechonest
+  (package (inherit (package-with-python2
+                     (strip-python2-variant python-pyechonest)))
+    (native-inputs `(("python2-setuptools" ,python2-setuptools)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]