Skip to main content

A simple package to convert Indian Rupees to other currencies.

Project description

pyinr

A simple Python package to convert Indian Rupees (INR) to other currencies.

Installation

You can install pyinr directly from PyPI using pip:

pip install pyinr

Usage

Here's how you can use the pyinr module to perform currency conversions:

from pyinr import convert

# Example: Convert 100 INR to USD
usd_amount = convert(100, "USD")
print(f"100 INR is equal to {usd_amount} USD")

# Example: Convert 500 INR to EUR
eur_amount = convert(500, "EUR")
print(f"500 INR is equal to {eur_amount} EUR")

# Example: Convert 250 INR to JPY
jpy_amount = convert(250, "JPY")
print(f"250 INR is equal to {jpy_amount} JPY")

Note: The convert function currently uses a fixed exchange rate for demonstration purposes. For real-world applications, you would integrate with a live exchange rate API.

PyPI Instructions

This package is available on PyPI. You can find it by searching for pyinr on the PyPI website.

To install it, simply run:

pip install pyinr

If you encounter any issues or have suggestions, please report them on the Bug Tracker.

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

pyinr-0.0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

pyinr-0.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pyinr-0.0.4.tar.gz.

File metadata

  • Download URL: pyinr-0.0.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pyinr-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d33c1cebf891ede9272c3d11011370cf7901fe28f9709fe08efaf9675e014fbe
MD5 5f82d9353ba3b96dc5bd3496673ed562
BLAKE2b-256 f8b69d2de7bc655f201426dc6a711b32d5ed84a7243793c5a198ad7aaa727f26

See more details on using hashes here.

File details

Details for the file pyinr-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyinr-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pyinr-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 193299ca7d74438c73fc911488baa917cff5dd22da10b3b46ebb9332008543c4
MD5 3c8bb53b381a6d69a8c809d9842b9db4
BLAKE2b-256 afb80d80c9cd5a4909d45987e900a1802320922088d87ec5022cd2c1c3ec812f

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