Skip to main content

Tariff rate and duty calculation based on Bangladesh Import and Export related H.S. Code

Project description

tariff rate take from https://customs.gov.bd/files/Tariff-2025-2026(02-06-2025).pdf ------- How to get total duty -------------

from bdtariff import duty duty()

Enter HSCode and then Assess Value in BDT you get totat duty in BDT.

------ How to know tariff rate ------------

from bdtariff import rate rate()

Enter HScode You get Tariff rate

------ How to get one by one --------------

from bdtariff import hscode

result = hscode(HSCODE) print(result.cd) # Get the 'cd' field print(result.sd) # Get the 'sd' field print(result.rd) # Get the 'rd' field print(result.vat) # Get the 'vat' field print(result.at) # Get the 'at' field print(result.ait) # Get the 'ait' field print(result.tti) # Get the 'tti' field print(result.tarriff_description) # Get the 'Tariff Description' field

################# Sample Program #############

from bdtariff import hscode

result = hscode("01012100") if result: print(result.cd) # Get the 'cd' field print(result.sd) # Get the 'sd' field print(result.as_dict()) # Get the full dictionary else: print("HSCode not found")

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

bdtariff-0.0.1.tar.gz (173.0 kB view details)

Uploaded Source

Built Distribution

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

bdtariff-0.0.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file bdtariff-0.0.1.tar.gz.

File metadata

  • Download URL: bdtariff-0.0.1.tar.gz
  • Upload date:
  • Size: 173.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for bdtariff-0.0.1.tar.gz
Algorithm Hash digest
SHA256 810a37d35ccaac42d576297a6398566e126912d4e9d92a9a1673e9e2aa32c94f
MD5 8277ed2f3ec1110dfd280d28bb3f21d9
BLAKE2b-256 634afeb85653f36378925d61a5a9ec20829a54e38602a19d0c3f21da86a5e857

See more details on using hashes here.

File details

Details for the file bdtariff-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bdtariff-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for bdtariff-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1988913f4a137fa2bb891634196890ffcc2fbfa6a371729e7211fa9576086ce7
MD5 d4fcbdb76972190ded5d59c375ba6b4a
BLAKE2b-256 4197a25b1afef25b231f666a422a87d4fc6b3167877e9befe19ba5aca9a095ee

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