Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

addispayweb

Python package used to integrate Addispay web API

Published3 Jul 2024
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

AddispayWeb

Python package used to integrating Addispay web API with your project.

import os
from dotenv import load_dotenv
from addispay import AddisPay
from utils import generate_unique

load_dotenv()

publickey = os.environ.get("publickey")
privatekey = os.environ.get("privatekey")
Auth = os.environ.get("Auth")
addispay = AddisPay(publickey, privatekey, Auth)
total_amount=12
tx_ref="TX-bcd"
currency="ETB"
first_name="Annis"
email="annis@gmail.com"
phone_number="0988888888"
last_name="Nelson",
session_expiration_minute=12
nonce=generate_unique([], 32)
notify_url="https://example.com/"
return_url="https://example.com/"
message="from customer to ..."
order_detail={}
response = addispay.send_request(total_amount=total_amount, tx_ref=tx_ref, currency=currency, first_name=first_name,email=email,phone_number=phone_number,last_name=last_name,session_expiration_minute=session_expiration_minute,nonce=nonce,notify_url=notify_url,return_url=return_url,message=message,order_detail=order_detail)
print(response.json)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pycryptodome
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pycryptodomeruntime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
requestsruntime
rsa
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
rsaruntime
six
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
sixruntime

Distribution files

2 collected
addispayweb-0.1.0-py3-none-any.whl

bdist_wheel · 4.63 KB · Python py3

Source file
addispayweb-0.1.0.tar.gz

sdist · 3.68 KB · Python source

Source file

Repository

PENDING
addispay/addispaypythonpackage

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:aba6fb14081277f64149da8bf53f61e609872a3196c5e33dbacfcd0b4f002181

Other collected versions

View all collected versions →