Skip to main content

Contains a set of helper kits that can help you for development.

Project description

To use (with caution), simply do:

>>> from gurka import toolkits
>>> # Example rupiah formating
>>> money_idn = 45000
>>> toolkits.to_rupiah(money_idn)
'Rp. 45,000.00'
>>> # Example using autonumber
>>> toolkits.DEFAULT_PREFIX = "PRD" # PRD is a prefix code for product.
>>> toolkits.DEFAULT_OVERFLOW = 3 # Total digit autonumber
>>> toolkits.autonumber()
>>> toolkits.autonumber(data=_)
>>> toolkits.autonumber(data=_)
>>> toolkits.autonumber(data=_)

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

gurka_toolkits-0.1.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

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