Skip to main content

No project description provided

Project description

Перевод единиц измерения в систему СИ

Описание

Библиотека позволяет переводить единицы измерения в периодическую систему СИ (toSI), а также из системы СИ в нужную единицу измерения (fromSI).

Установка

pip install "Название библиотеки"

Использование

В систему СИ (toSI)

from si_converter import SIConverter
converter = SIConverter()
result = converter.convert_from_si(3600, "time", "h")
print(f"3600 секунд в часах: {result} ч")

Из системы СИ (fromSI)

from si_converter import SIConverter
converter = SIConverter()
result = converter.convert_to_si(100, "mass", "g")
print(f"100 граммов в килограммах: {result} кг")

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

si_converter-2.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

SI_converter-2.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file si_converter-2.0.0.tar.gz.

File metadata

  • Download URL: si_converter-2.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for si_converter-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3a3040f602ebb32f277b50c40d03094f8c29d2c1493121460c3d643f495fa170
MD5 cc0603c0628af1029bd508dbe64b3e19
BLAKE2b-256 f7e9d655f676497222d7a4459ed48fbb34511d21771fa45b2148fdbc873c0614

See more details on using hashes here.

File details

Details for the file SI_converter-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: SI_converter-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for SI_converter-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a24a82ffb8fca2ec5448d15114b0dc2baff6ec27a0daacae5042265efa81904
MD5 84e2ef20fe002675c9627ac90209369b
BLAKE2b-256 df8eec0fbfa37946c47083ec4fb18646cafd3a0330708f478cd6c9fe87d9774c

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