background preloader

InMusic

InMusic
This page is divided in three sections: Music software written in Python, Music programming in Python, and Music software supporting Python Bluemindo - Bluemindo is a really simple but powerful audio player in Python/PyGTK, using Gstreamer. Bluemindo is a free (as in freedom) software, released under GPLv3, only. cplay - a curses front-end for various audio players edna - an MP3 server, edna allows you to access your MP3 collection from any networked computer. The web pages are dynamically constructed, adjusting to directory structure and the files in those directories. This is much nicer than using simple directory indexing. Rather than directly serving up an MP3, the software serves up a playlist. Related:  Algorithmes&programmation

Mongoose Add Update: Mongoose 1.0 has been released, and we recommend going to our dedicated website for the most up-to-date information and code At LearnBoost, we like to consider ourselves hackers. The team is very proud to release Mongoose and we hope you like it! What is Mongoose? Mongoose is a javascript library that makes working with MongoDB a breeze. Why MongoDB? While looking into storage solutions we decided that using a NoSQL engine was the best fit for our needs. MongoDB We ended up choosing Mongo for a variety of reasons: commercial support leaders in the industry (founder was CTO at doubleclick ) VMM mapping is a good idea horizontal scaling (sharding at a collection level, soon at the db level) fast large set of features (query language has power and is constantly expanding) javascript (a great fit with Nodejs) runs on spidermonkey but a port is in the works for v8 as well Quick Intro to Mongoose It is first very important to understand what Nodejs is: Example The current state: if(doc ! },hydrate);

Automate the Boring Stuff with Python PDF and Word documents are binary files, which makes them much more complex than plaintext files. In addition to text, they store lots of font, color, and layout information. If you want your programs to read or write to PDFs or Word documents, you’ll need to do more than simply pass their filenames to open(). Fortunately, there are Python modules that make it easy for you to interact with PDFs and Word documents. This chapter will cover two such modules: PyPDF2 and Python-Docx. PDF stands for Portable Document Format and uses the .pdf file extension. The module you’ll use to work with PDFs is PyPDF2. Extracting Text from PDFs PyPDF2 does not have a way to extract images, charts, or other media from PDF documents, but it can extract text and return it as a Python string. Figure 13-1. Download this PDF from and enter the following into the interactive shell: First, import the PyPDF2 module. PyPDF2 doesn’t allow you to directly edit a PDF. Note #! #! #! #!

aubio, a library for audio labelling Basic Operators - Learn Python - Free Interactive Python Tutorial This section explains how to use basic operators in Python. Arithmetic Operators Just as any other programming languages, the addition, subtraction, multiplication, and division operators can be used with numbers. number = 1 + 2 * 3 / 4.0 Execute Code Try to predict what the answer will be. Another operator available is the modulo (%) operator, which returns the integer remainder of the division. dividend % divisor = remainder. remainder = 11 % 3 Using two multiplication symbols makes a power relationship. squared = 7 ** 2 cubed = 2 ** 3 Using Operators with Strings Python supports concatenating strings using the addition operator: helloworld = "hello" + " " + "world" Python also supports multiplying strings to form a string with a repeating sequence: lotsofhellos = "hello" * 10 Using Operators with Lists Lists can be joined with the addition operators: even_numbers = [2,4,6,8] odd_numbers = [1,3,5,7] all_numbers = odd_numbers + even_numbers print [1,2,3] * 3

Functional Javascript var Functional; Functional is the namespace for higher-order functions. Functional.install = function(except) This function copies all the public functions in Functional except itself into the global namespace. If the optional argument is present, functions named by its property names are not copied. Higher-order functions Functional.compose = function(fn...) Type: (a2 → a1) (a3 -> a2)… (a… -> an) -> a… -> a1 Returns a function that applies the last argument of this function to its input, and the penultimate argument to the result of the application, and so on. (1, 2, 3…, )() =def 1(2(3(…((…))))) compose('1+', '2*')(2)→ 5 Functional.sequence = function(fn...) Type: (a… → a1) (a1 -> a2) (a2 -> a3)… (an-1 -> an) -> a… -> an Same as compose, except applies the functions in argument-list order. (1, 2, 3…, )(…) =def (…(3(2(1(…))))) sequence('1+', '2*')(2)→ 6 Functional.map = function(fn, sequence, object) Type: (a ix → boolean) [a] -> [a] Applies fn to each element of sequence. map('1+', [1,2,3])→ [2, 3, 4]

Docs: Pandas Recipes This page contains code snippets that focus on working with pandas, a popular Python library that is used throughout the Quantopian API. Most Quantopian API functions that output data or results do so in the form of a pandas data structure like a Series or a DataFrame. The recipes below illustrate some of the techniques you can use to manipulate these data structures. Working With Pipeline Outputs in Research¶ The following code snippets provide tips for working with MultiIndex DataFrames, which are the output type of pipeline runs in research. Looking at results for one asset in research¶ This code snippet illustrates how to index into a particular level of a pandas MultiIndex DataFrame. Looking at results for a subset of dates in a pipeline output¶ This code snippet illustrates how to look at a subset of a MultiIndex DataFrame. Note Count the number of assets returned by pipeline each day¶ This code snippet plots the number of US equities trading on a supported exchange every day.

A Speech Recognition Toolkit based on Python (EuroSciPy) SRTk is an open-source software framework for speech recognition implemented by using Python . Automatic speech recognition (ASR), which converts recorded speech audio signals to text transcriptions, is one of the most promising technologies for advanced human-machine interaction. Although the algorithms and heuristics used in this technology are still under investigation and are in need of rapid implementation of state-of-the-art methods, the current frameworks are mainly implemented by using "heavyweight" languages. This module installs several shell commands to manipulate probabilistic models and data used in ASR, and several python modules to enable investigations of ASR. Continuous-density hidden Markov models (CD-HMMs) and their training methodsIn current ASR methods, CD-HMMs are widely accepted as a model of speech feature sequences.

BeginnersGuide/NonProgrammers Python for Non-Programmers If you've never programmed before, the tutorials on this page are recommended for you; they don't assume that you have previous experience. If you have programming experience, also check out the BeginnersGuide/Programmers page. Books Each of these books can be purchased online but is also available as free textual, website, or video content. Automate the Boring Stuff with Python - Practical Programming for Total Beginners by Al Sweigart is "written for office workers, students, administrators, and anyone who uses a computer to learn how to code small, practical programs to automate tasks on their computer." You can find many free Python books online. Interactive Courses These sites give you instant feedback on programming problems that you can solve in your browser. CheckiO is a gamified website containing programming tasks that can be solved in Python 3. Resources for Younger Learners Tutorials and Websites Tutorial Aggregators / lists Apps Videos Email Academies Tools

Experimenting with Node.js If you see extra mouse cursors moving around: don’t worry, they’re part of the demo. You can always disable them if you want. I’ve written a follow-up on this article, in which I improved a lot of the code. Be sure to read that one too! If you’re using a browser that supports web sockets, you might see some extra mouse cursors moving around. This is an experiment I did to play around with Node.js and web sockets. Web socket server Using @miksago‘s node-websocket-server made it extremely easy to send and receive messages from a web socket. After including the node-websocket-server library and creating the server, I add some listeners to know when clients disconnect or send a message and make sure messages get sent to the other clients. I saved it as server.js, so starting the server is as simple as running node server.js. Receiving messages Now, in a regular javascript file — with some jQuery — I included into this page, I connect to the web socket like this: Sending messages Blew your mind?

Où trouver les meilleurs ensembles de données gratuits et publics Skip to main content Où trouver les meilleurs ensembles de données gratuits et publics Partager Jacob Olsufka Data Visualization Specialist chez Spotify 26 févr., 2019 S'entraîner à créer des visualisations en dehors du travail est un bon moyen de vous sortir du train-train de l'analyse de données métier et de donner libre cours à votre créativité pour progresser. Vous avez certainement déjà eu envie de créer une visualisation, sans pourtant savoir où trouver les données à analyser. Source 1 : Données provenant de sites d'actualité et d'organes de presse Si vous recherchez des données sur un large éventail de sujets, vous pouvez regarder du côté des sites d'actualités. FiveThirtyEight : une véritable mine de plus de 100 ensembles de données sur le sport et la politique. Source 2 : Projets animés par la communauté La passion et les compétences analytiques de la communauté Tableau sont inégalées, et vous pourrez facilement y trouver des sources de données prêtes à être analysées.

Table of Contents — How to Think like a Computer Scientist: Interactive Edition This interactive book is a product of the Runestone Interactive Project at Luther College, led by Brad Miller and David Ranum. There have been many contributors to the project. Our thanks especially to the following: This book is based on the Original work by: Jeffrey Elkner, Allen B. The Runestone Interactive tools are open source and we encourage you to contact us, or grab a copy from GitHub if you would like to use them to write your own resources.

God - A Process Monitoring Framework in Ruby Initiation au Machine Learning avec Python - La pratique Scikits-Learn est une librairie d'apprentissage automatique couvrant l'ensemble de la discipline: Découverte par la pratique - Classer une fleur selon des critères observables Nous allons utiliser pour ce tutoriel la base de données d'Iris de la librairie scikit-learn Mais quel est donc cet Iris ? Cet exemple est très souvent repris sur Internet. Cette base contient des Iris qu'un botaniste, Ronald Fisher, a classés en 1936 à l'aide d'une clef d'identification des plantes (type de pétales, sépale, type des feuilles, forme des feuilles, ...). Puis, pour chaque fleur classée il a mesuré les longueurs et largeurs des sépales et pétales. L'idée qui nous vient alors, consiste à demander à l'ordinateur de déterminer automatiquement l'espèce d'une nouvelle plante en fonction de la mesure des dimensions de ses sépales et pétales que nous aurions réalisée sur le terrain. C'est un cas d'apprentissage supervisé (mais nous le transformerons aussi en non supervisé). Botanistes en herbe, à vos claviers ! x

Dive Into Python 3

Related: