Giter Club home page Giter Club logo

pycure's Introduction

pycure

https://drone.io/github.com/drillbits/pycure/status.png

All about Japanese battle heroine "Pretty Cure".

Inspired by Acme::PrettyCure.

Requirements

  • Python 3.3

Installation

$ pip install pycure

Usage

Get the most recent series.

$ python
>>> from pycure import Precure
>>> p = Precure.now
>>> p.title
'ドキドキ!プリキュア'
>>> p.girls[0].name
'相田マナ'
>>> p.girls[0].transform()
みなぎる愛! キュアハート!
愛を無くした悲しいジコチューさん、このキュアハートがあなたのドキドキ取り戻してみせる!
>>> p.girls[0].name
'キュアハート'

Get from slug.

$ python
>>> from pycure import Precure
>>> Precure.slugs
['', 'maxheart', 'splashstar', 'yes', 'gogo', 'fresh', 'heartcatch', 'suite', 'smile', 'dokidoki']
>>> p = Precure["smile"]
>>> p.girls[2].name
'黄瀬やよい'
>>> p.girls[2].transform()
ピカピカピカリンジャンケンポン! キュアピース!

Precure girls of the first series require her partner to transform.

$ python
>>> from pycure import Precure
>>> p = Precure[""]
>>> p.title
'ふたりはプリキュア'
>>> p.girls[0].name
'美墨なぎさ'
>>> p.girls[1].name
'雪城ほのか'
>>> p.girls[0].transform()
(snip)
pycure.girl.PartnerInvalidError
>>> p.girls[0].transform("雪城ほのか")
光の使者、キュアブラック!
光の使者、キュアホワイト!
ふたりはプリキュア!
闇の力のしもべ達よ!
とっととお家に帰りなさい!
>>> p.girls[0].name
'キュアブラック'
>>> p.girls[1].name
'キュアホワイト'

pycure's People

Contributors

drillbits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

notherno

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.