Skip to main content
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!

Engineer Number calculate

Project Description
Engineer Number calculate
————————-

This module can easily calculate Engineer Number.

This version requires Python 3 or later.
Python 2 version may be available but no support Python 2 version.

for example.

0.
>>> from engineer_number import EngineerNumber

1.
>>> nano470 = EngineerNumber(‘470n’)
>>> nano470
470.000n
>>> nano470[‘u’]
‘0.470u’

2.
>>> c104 = EngineerNumber(‘10p’) * 10 ** 4
>>> c104 = EngineerNumber(‘10p’, 4) # equal to above line
>>> c104[‘u’]
‘0.100u’
>>> c104[‘n’]
‘100.000n’

3.
>>> G1 = EngineerNumber(‘1G’)
>>> M103 = EngineerNumber(‘103M’)
>>> G1 / M103
9.709

4.
>>> Vcc = 5
>>> k47 = EngineerNumber(‘47k’)
>>> Ibeo = Vcc / k47
>>> Ibeo
106.383u
>>> Ibeo[‘m’]
‘0.106m’
>>> Iceo = Ibeo * 140
>>> Iceo[‘m’]
‘14.894m’
>>> Io = Ibeo + Iceo
>>> Io
15.000m
>>> Io[‘’]
‘0.015’

5.
>>> kx = EngineerNumber(‘47’, 2)
>>> kx
4.700k
>>> kx[‘’]
‘4700.000’
Release History

Release History

This version
History Node

1.0.4

History Node

1.0.3

History Node

1.0.1

History Node

1.0.0

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
engineer_number-1.0.4.tar.gz (21.5 kB) Copy SHA256 Checksum SHA256 Source Feb 17, 2013
engineer_number-1.0.4.zip (31.8 kB) Copy SHA256 Checksum SHA256 Source Feb 17, 2013

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