This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

ruper_detector

Gure bulegoan askotan edukitzen dugu EITB Irratia jarrita. Eta askotan esan ohi dugu Ruper Ordorikarenganako lerratze bat duela irrati horrek.

Gainera gure bulegoa Ruperren fanez beteta dago, eta beste batzuri logurea besterik ez digu ematen.

Programatxo honek, egunaren zein ordutan lo hartuko dugun abisatzen digu Ruper noiz jarriko duten esanez.

Broma bat da, hartu umorez!

Instalazioa eta erabilera

Ruper detektorea Python programazio lengoaiarako egindako programa da. Instalatzeko beste edozein Python liburutegi bezala instalatu behar da. Gaur egun pip tresna erabiliz egin dezakezu hori:

$ pip install ruper_detector

Hori eginda, zure sisteman script bat instalatuko da, ruper_detector. Bere erabilera oso erraza da: pasatu parametro bezala zein datan detektatu nahi duzun Ruper baina UUUUHHEE formatua erabiliz, adibidez 20131108, horrela:

$ ruper_detector 20131108

Pantailan bertan inprimatuko ditu emaitzak:

$ ruper_detector 20131108
  Ruper detektatzen...
  20131108
  Ondo!!! Gaur Ruper 2 aldiz entzungo dugu!! Hauek dira orduak:
  10:43:31 EGIN KONTU
  18:10:58 I-SIGARRILLOS AMARILLOS B

Beste aukera bat, programa hau zure garapen baten integratzea da. Horretarako instalatu programa lehen esandako moduan (pip install ruper_detector) edo zure garapenaren dependentziak instalatzeko erabiltzen duzun sisteman (gure kasuan zc.buildout darabilgun horretarako), eta ondoren inportatu Ruper detektorea zure garapenean:

>>> from ruper_detector import detektorea
>>> kantak = detektorea('20131108')
>>> ruperren_kantak
[{'artista': u'ORDORIKA RUPER', 'kanta': u'EGIN KONTU', 'ordua': u'10:43:31'},
 {'artista': u'I-ORDORIKA RUPER B',
  'kanta': u'I-SIGARRILLOS AMARILLOS B',
  'ordua': u'18:10:58'}]

Adibide bat

Ruper detektorearen adibide bat, helbide honetan duzue: http://www.codesyntax.com/eu/labs/ruper_detector

Changelog

1.2 (2015-08-07)

  • Add from ruper_detector import detektorea shortcut [erral]
  • Change to www.eitb.eus [erral]

1.1 (2013-11-08)

  • Dokumentazio apur bat [erral]

1.0 (2013-11-07)

  • First version [erral]
Release History

Release History

1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ruper_detector-1.2.tar.gz (14.0 kB) Copy SHA256 Checksum SHA256 Source Aug 7, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting