To Make easy to use Forge (APS) by python
Project description
Forge APS
The forge (APS) package is developed to create Forge APS token create/ delete buckets and others.
In this Package the following Forge API:
1.Data Management API
2.Authentication API
3.ModelDerivative API
The Following are sample examples.
Example 1 (To create Authenticate Token):
from forge.Authentication import Authenticate
def GenerateToken():
app_client_id = 'YOUR_FORGE_CLIENT_ID'
app_client_secret = 'YOUR_FORGE_CLIENT_SECRET'
access_token = Authenticate(forge_client_id=app_client_id, forge_client_secret=app_client_secret,authenticate_scopes='viewables:read')
return access_token
Example 2 (To create Bucket):
def createBucket():
app_client_id = 'YOUR_FORGE_CLIENT_ID'
app_client_secret = 'YOUR_FORGE_CLIENT_SECRET'
BUCKET_KEY = 'YOUR_BUCKET_NAME'
bucketCreation = CreateBucket(forge_client_id=app_client_id, forge_client_secret=app_client_secret,bucket_key=BUCKET_KEY)
return bucketCreation
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
File details
Details for the file EasyForge-0.0.2.tar.gz
.
File metadata
- Download URL: EasyForge-0.0.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d0aae96b8bb7e5f124a6ce1fd7ac671729d07efe3043258c5d66888b5fbc3f |
|
MD5 | d56a54edab2944136a8014d2e47a9b44 |
|
BLAKE2b-256 | b807a1feaf5b13d7dc8de66efddb0a104a91b9d4f784c1eb3d1a375a3cb629f6 |
File details
Details for the file EasyForge-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: EasyForge-0.0.2-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea2469a83cc899645cc9307b596c3780316b5c15ce447e044a0c43212652c9b4 |
|
MD5 | bd6e9062788a372e9cdd6843174e71bb |
|
BLAKE2b-256 | 1cb5312bd413884bacb3698d8f01b78dd96f1cdeeae73a30cc32056af3c427cd |