Skip to main content

All about Japanese battle heroine "Pretty Cure"

Project description

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
'キュアホワイト'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycure-0.0.2-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pycure-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pycure-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f09422d23f2846d45aafe74df5705a11b611f40c6f2faef4438ae1302615c7c1
MD5 f43a0f6614d93100923b3f5512e98aac
BLAKE2b-256 71a5663102b7b07da095b1dc63dc5dfe23005b31c464535955b1350e5bdfaf32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page