Create a DAPP for your organisation and Manage all your Organisational Activities.
Project description
MAIN
SDK_INIT : This method will take pluaris registered email and will return client_id and clien_secret.
PluarisSDK.sdkInit(email)
email : email of user who is registered with Pluaris.
LOGIN : This method will help in logining with the DApp.
PluarisSDK.login(id,client_secret,appid,passphrase)
_app_id_ : Name of the organisation.
_passphrase_ : passphrase of owner / manager / employee.
DEPLOY : This method will create an DApp for an organisation.
PluarisSDK.deploySmartContract(owner_passphrase,org_name,org_Email)
owner_passphrase : passphrase of the Smart Contract Owner.
Org_name : Name of the organisation.
Org_email : email of the organisation.
CREATE WALLET : creating a wallet for the employees and managers in the organisation by the organisation.
PluarisSDK.createWallet( app_id,owner_passphrase,name,email,designation,password, mobile,manager)
App id : the Id which we got while deploying the contract.
owner passphrase : we are getting a public address and private key.
Public address for transaction, Private key for signing the transaction.
Owner passphrase : we are getting a public address and private key.
Public address for transaction, Private key for signing the transaction.
Name : name of the employee
Email : email of the employee
Designation : role of the employee.
Mobile : mobile number of the employee
Manager : managers wallet address under whom the employee is assigned.
CHECK IN : this is to check when the employee is checking in to the organisation, for checking his attendance.
PluarisSDK.checkIn(app_id, employee_passphrase)
App id : your application Id.
Employee passphrase : employee's passphrase.
CHECK OUT : this is to check when the employee is checking out of the organisation.
PluarisSDK.checkOut(app_id,employee_passphrase)
App id : your application Id.
Employee passphrase : employee's passphrase.
leaveRequest : employee applying for the leave by mentioning the details why they need leave.
PluarisSDK.leaveRequest(app_id,employee_passphrase, reason,fromdate,duration)
app id : the Id which we got while deploying the contract.
Employee passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction
Reason : reason why the employee is taking leave.
From date : from when the leave has been taken.
Duration : how many days the leave has been taken.
leaveApprove : employee leave request will be approved by the manager after checking the details given by the employee.
PluarisSDK.leaveApprove(app_id,manager_passphrase, employee_addr, reason, fromdate,duration, status)
App id : the Id which we got while deploying the contract.
Manager passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction
Employee address : To know the particular employee who requested leave.
Reason : reason why the employee is taking leave.
From date : from when the leave has been taken.
Duration : how many days the leave has been taken.
Status : whether the request has been approved or rejected.
proofOfLearningRequest : employee is requesting for proof of learning in the organisation.
PluarisSDK.proofOfLearningRequest(app_id,employee_passphrase, topic,url)
App id : the Id which we got while deploying the contract.
Employee passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction
Topic : on which topic the employee is requesting proof of learning.
Url : link or documentation certified after learning.
proofOfLearningApproval : approval of proof of learning requested by the employee by checking the details given by the employee.
PluarisSDK.proofOfLearningApproval(app_id,owner_passphrase,employee_addr, topic,url,status)
App id : the Id which we got while deploying the contract.
Owner passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction.
Employee address : To know the particular employee who requested proof of learning.
Topic : on which topic the employee is requesting proof of learning.
Url : link or documentation certified after learning.
Status : whether the request has been approved or rejected.
proofOfExperienceRequest : employee is requesting for proof of experience in the organisation.
PluarisSDK.proofOfExperienceRequest(app_id,employee_passphrase, org,domain,exp,leaving_date)
App id : the Id which we got while deploying the contract.
Employee passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction.
Organisation : from which organisation the employee is requesting the proof of experience.
Domain : on which topic the employee is requesting proof of experience.
Experience : how many years the employee had worked.
Leaving date : the of leaving the organisation.
proofOfExperienceApprovalL : approval of proof of experience requested by employee by checking the details given by employee.
PluarisSDK.proofOfExperienceApproval(app_id,owner_passphrase,employee_addr, org,domain,exp,leaving_date,status)
App id : the Id which we got while deploying the contract.
Owner passphrase : for getting a public address and private key.
Public address for transaction, Private key for signing the transaction.
Employee address : To know the particular employee who requested proof of experience.
Organisation : from which organisation the employee is requesting the proof of experience.
Domain : on which topic the employee has requested proof of experience.
Experience : how many years the employee had worked.
Leaving date : the of leaving the organisation.
Status : whether the request has been approved or rejected.
LOG
getAllEmployees : in this method it will get all the employees under that app_id.
FetchData.getAllEmployees(client_id,client_secret,appid,owner_passphrase)
appid : Application id.
owner_passphrase : passphrase of the owner
getAllManager : in this method it will get all managers.
FetchData.getAllManager(client_id,client_secret,appid,owner_passphrase)
appid : Application id.
owner_passphrase : passphrase of the owner
getAllEmpsUnderManager : in this method it will get all the employees under a particular manager.
FetchData.getAllEmpsUnderManager(client_id,client_secret,appid,manager_passphrase)
App id : the Id which we got while deploying the contract.
manager_passphrase : Manager's Passphrase
getAllEmpsLeaveData : in this method it will get all the leave requests of the employees in that app id.
FetchData.getAllEmpsLeaveData(client_id,client_secret,appid,emp_passphrase)
app_id : the Id which we got while deploying the contract.
emp_passphrase : Employee's passphrase
getAllEmpsLeaveDataUnderManager : in this method it will get all the leave requests of the employees under a Manager in that app id.
FetchData.getAllEmpsLeaveDataUnderManager(client_id,client_secret,appid,manager_passphrase)
app_id : the Id which we got while deploying the contract.
manager_passphrase : Manager's passphrase
GET ALL PROOF OF LEARNINGS DATA : it will get all proof of learnings data.
FetchData.getAllPOLs(client_id,client_secret,appid,passphrase)
app_id : the Id which we got while deploying the contract.
passphrase : Employee's or Owner's passphrase
GET ALL PROOF OF EXPERIENCE DATA : it will get all proof of learnings data.
FetchData.getAllPOEs(client_id,client_secret,appid,passphrase)
app_id : the Id which we got while deploying the contract.
passphrase : Employee's or Owner's passphrase
VERIFY
Verify Proof of Learning this will return verified email-id for provided wallet address
Verify.verifyPOL(client_id,client_secret,appid,verifier_passphrase,wallet_address,topic)
note: if a verfied topic exists for a user. one algo will be transferred from verifier's wallet to the given wallet address
app_id : the Id which we got while deploying the contract.
verifier_passphrase: Verifier's passphrase
wallet_address : address of the one's wallet that will return their verified given topic if exisits
topic : topic to be verfied
Verify Proof of Experience this will return verified email-id for provided wallet address
Verify.verifyPOE(client_id,client_secret,appid,verifier_passphrase,wallet_address,domain)
note: if a verfied domain exists for a user. one algo will be transferred from verifier's wallet to the given wallet address
app_id : the Id which we got while deploying the contract.
verifier_passphrase: Verifier's passphrase
wallet_address : address of the one's wallet that will return their verified Emailid if exisits
domain : domain to be verified
verifyEmail this will return verified email-id for provided wallet address
Verify.verifyEmail(client_id,client_secret,appid,verifier_passphrase,wallet_address)
note: if a verfied email id exists for a user. one algo will be transferred from verifier's wallet to the given wallet address
app_id : the Id which we got while deploying the contract.
verifier_passphrase: Verifier's passphrase
wallet_address : address of the one's wallet that will return their verified Emailid if exisits
verifyMobile this will return verified Mobile number for provided wallet address
Verify.verifyMobile(client_id,client_secret,appid,verifier_passphrase,wallet_address)
note: if a verfied mobile number exists for a user. one algo will be transferred from verifier's wallet to the given wallet address
app_id : the Id which we got while deploying the contract.
verifier_passphrase: Verifier's passphrase
wallet_address : address of the one's wallet that will return their verified mobile number if exisits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pluaris-sdk-0.0.6.tar.gz.
File metadata
- Download URL: pluaris-sdk-0.0.6.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c58766a4acdf05b33e96c83bfc6cfdedd6fdefc3ca01be96ad2b66fe1870be4
|
|
| MD5 |
3863289751423960936d6a5d360d3279
|
|
| BLAKE2b-256 |
339f8f87e0377db8d5eeb7857d787368a56658e3205a47f172731670c12a1d90
|
File details
Details for the file pluaris_sdk-0.0.6-py3-none-any.whl.
File metadata
- Download URL: pluaris_sdk-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fed546ebc977e3927dcc7d677b34bb701a2066014431cf4fdfe4ee92857c2b18
|
|
| MD5 |
bd60cbd4c0f1d90fd6ee6ab4de49753d
|
|
| BLAKE2b-256 |
532645dde9125ab301791913cd130a12c3c3aea306ca2d42c8e2a1e2c9efb270
|