Skip to main content

calculate speed, time and distance

Project description

‘Speedtimedistance’ is an advanced tool that has already coded, programmed and prepared with multiple clases and functions using python 3.8.5 in a first-started library version 0.0.0.1; this library is supposed to assist computer scientists,programmers, mathematic students, scholars, and researchers to write their own softwares based on most accurate and standard scientific equations to caculate speed, time, and distance. The first version of this library though may be considerd simple and humble comparing with other scientific tools, but it is good start after all :). All scientific calculations inside this library has already been tested among other standard scientific resourses and convertor-tool applications during conding, and as before publishing and sharing….

Info and Instructions:

1- Apparently this package contains three different modules .py namely: time, speed, and distance. Every module has its own class and functions, for example: ‘time.py —— Class Time: —— function caculateTime()’, and so on…

2- Each module has been designed and programmed to stand-alone when called, and each has its own methods and mechanisim to calculate within its own sphere; for example, time module: calculate time, convert time… speed module: calculate speed, convert speed… distance module: caculate distance, convert distance…and so on..

3- Error handeling has been considered at the most: probably not covered all errors, but it could be helpful, simplify programming and using the functions when called and when parameter assignments. For example, consider the function: timeUnits() inside time module: time.py:

  • When it is called alone with no parameter, it prints all time units stored in the program:

1 : s : second 2 : m̲i̲n : minute 3 : h̲r : hour

  • Try to enter unwanted parameter like numbers for example it will print an error message with again all time units stored in the program:

No value has been found in time units Try again with these values:

1 : s : second 2 : m̲i̲n : minute 3 : h̲r : hour

No value has been returned yet!

4- All calculations inside the program based on comparison alogorithim, eventhough it looks a large bunch of codes, but it works most accurently and very smart when called and manipulated.

By Ehssan Dannouf Version 0.0.0.1 (19/08/2020): First Release

Change Log

0.0.0.1 (19/08/2020) - First Release

Project details


Download files

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

Source Distribution

speedtimedistance-0.0.0.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

speedtimedistance-0.0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file speedtimedistance-0.0.0.1.tar.gz.

File metadata

  • Download URL: speedtimedistance-0.0.0.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for speedtimedistance-0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 f19a748b9d7e3a1fa03da0a69936d3de64ca9dd82d3859d5071de2378a207786
MD5 d780e4bf8e069a6f20bf1550f49b856c
BLAKE2b-256 9f76ecb45fa8e61d800cd87fe93e7ed38a3d9b790439b227915b32ae0e99df9a

See more details on using hashes here.

File details

Details for the file speedtimedistance-0.0.0.1-py3-none-any.whl.

File metadata

  • Download URL: speedtimedistance-0.0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for speedtimedistance-0.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5447e7745c70d0b5c6746504efd35e731fe9f93c7fa7096fcb6bf279e800d7ee
MD5 4ccfb5ddead21819c1fc5657e21ee698
BLAKE2b-256 4eed6920d6c4b24415a0385662590e9c26269bddd7c16aa9e731649a16868d4d

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