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
EasyForge-0.0.1.tar.gz
(17.0 kB
view details)
Built Distribution
EasyForge-0.0.1-py3-none-any.whl
(18.3 kB
view details)
File details
Details for the file EasyForge-0.0.1.tar.gz
.
File metadata
- Download URL: EasyForge-0.0.1.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 |
9707a3858dbd4ae34abb1026b0e70fcc9e9fad558b564487c435d199b1dfef2e
|
|
MD5 |
af8fd7c4b74263f748a387b490a807c0
|
|
BLAKE2b-256 |
f05b5f511781e1bf48917c6229eac5497e2b0187580082ccac03c3cb917a6592
|
File details
Details for the file EasyForge-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: EasyForge-0.0.1-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 |
301db726cdbab29758f17029801d60fcfcc87baff37665199fe2d640a0c40ca5
|
|
MD5 |
feea7d310ff2c44ff20decfb47bf981a
|
|
BLAKE2b-256 |
bd590c135c6570d31e4b72cc0b87e8cd6ca23623bb9609a975501ee80fe95efa
|