musicmetric / mmpy Goto Github PK
View Code? Open in Web Editor NEWmusicmetric python wrapper
Home Page: http://developer.musicmetric.com
License: ISC License
musicmetric python wrapper
Home Page: http://developer.musicmetric.com
License: ISC License
Generator expressions are cool and all, but I think they're out of place in the Chart.<chart_type>
attribute for a couple reasons.
> c = mmpy.Chart('bb789492225c4c4da2e15f617acc9982')
> list(c.artist)
[(1, None, <mmpy.artist.Artist at 0x106dd6f50>),
...]
> list(c.artist)
[]
self.response
attribute, which, if it (eventually) follows mmpy.Artist()
's patterns, changes value with each API call.My personal opinion would be to use a simple list comprehension in the place of the generator expression, so that at least the c.artist
attribute has stable behaviour, but I don't know where y'all are headed with this.
This is apparently fixed with setup.setup(install_requires[...])
.
pip install mmpy
gives the following error
Downloading/unpacking mmpy
Downloading mmpy-0.1.tar.gz
Running setup.py egg_info for package mmpy
Traceback (most recent call last):
File "<string>", line 13, in <module>
File "/home/matt/build/mmpy/setup.py", line 9, in <module>
long_description=open('README.md').read(),
IOError: [Errno 2] No such file or directory: 'README.md'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 13, in <module>
File "/home/matt/build/mmpy/setup.py", line 9, in <module>
long_description=open('README.md').read(),
IOError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in ./pip-log.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.