Skip to main content

This library contains data on country names, currencies and abbreviations which are stored and packaged in the form of a JSON file

Project description

Kata Pengantar

Setiap negara yang berdaulat tentunya mempunyai mata uang dan singkatan untuk mempermudah pengucapan. Dalam membuat alat atau program tentunya memerlukan data yang akurat dan tidak salah jika mencoba pustaka ini. Pustaka pycurrency terlengkap perihal data nama negara, nama mata uangnya serta singkatannya dan sangat dipermudah karena setiap datanya disimpan dalam format berkas json.

Cara Instalasi

Cukup mudah, hanya dengan tempel dan rekatkan di terminal

pip install pycurrencyid

Cara mengunakan dan contoh program

Dalam menggunakan pustaka ini pertama -tama pahami dulu program berikut.

from pycurrencyid import mataUang
import pprint


# ada dua fungsi utama pada kelas mataUang, semua dan cari
data = mataUang()

# untuk menampilkan semua data yang ada di pustaka ini
pprint.pprint(data.semua, sort_dicts=False)

# untuk mencari nama negara berdasarkan singkatan mata uangnya
pprint.pprint(data.cari("idr"), sort_dicts=False)

Kata Penutup

Semoga bermanfaat dan jika tertarik dengan program ini dan lainnya, silahkan follow akun sosial media aku lainnya.

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

pycurrencyid-1.4.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

pycurrencyid-1.4.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file pycurrencyid-1.4.1.tar.gz.

File metadata

  • Download URL: pycurrencyid-1.4.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-91-generic

File hashes

Hashes for pycurrencyid-1.4.1.tar.gz
Algorithm Hash digest
SHA256 c4bac751a517ae7d71932226420b2b0ceb53580be837bbfd2564e503d2458213
MD5 806c3e8db03e56e36b226628dd17913b
BLAKE2b-256 40f4287883a9b0ebd28182148deeda0ab6bab3ff4a770470af6e7b4439ab1391

See more details on using hashes here.

File details

Details for the file pycurrencyid-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: pycurrencyid-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-91-generic

File hashes

Hashes for pycurrencyid-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45fc79691ade4f8c901957c3df5cbb9a2275636e6ee544295050a5b4cf694818
MD5 f992da11c5ab4f1b9b9dbd98afd5a4d4
BLAKE2b-256 efddb541460c23dc556eba74ed135b2bffb516e6b8dd9be5d5dc0c5bb4d8d916

See more details on using hashes here.

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