Aspose.Tasks Cloud API Reference
Project description
Aspose.Tasks Cloud SDK for Python
This repository contains Aspose.Tasks Cloud SDK for Python source code. This SDK allows you to work with Aspose.Tasks Cloud REST APIs in your Python applications quickly and easily, with zero initial cost.
Aspose.Tasks Cloud
API Reference
Key Features
- Conversion between various file formats, including MPP->PDF conversion
- Read, change and write Microsoft ProjectВ® documents
- Create, update and write projects in XML project format
- Manage extended attributes
- Define weekdays for calendars and calendar exceptions
- Manage task baseline scheduling and duration
- Create and manage links between tasks
- Manage resources costs and variances
- Access assignment costs and budget
How to use the SDK?
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get PyPi (recommended). For more details, please visit our documentation website.
Prerequisites
To use Aspose Tasks for Cloud Python SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install aspose-tasks-cloud
(you may need to run pip
with root permission: sudo pip install aspose-tasks-cloud
)
Then import the package:
import asposetaskscloud
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import asposetaskscloud
Getting Started
Please follow the installation procedure and then run the following:
import asposetaskscloud
import asposetaskscloud.models.requests
api_client = asposetaskscloud.ApiClient()
api_client.configuration.host = 'https://api.aspose.cloud'
api_client.configuration.api_key['api_key'] = '' # Put your appKey here
api_client.configuration.api_key['app_sid'] = '' # Put your appSid here
tasks_api = asposetaskscloud.TasksApi(api_client)
remote_name = 'SomeSeriousPlan.mpp'
upload_request = asposetaskscloud.models.requests.UploadFileRequest(file, remote_name)
upload_result = self.tasks_api.upload_file(request)
self.assertTrue(upload_result.code == 200, 'Error has occurred while uploading project file')
request = asposetaskscloud.models.requests.GetDocumentPropertiesRequest(remote_name)
result = tasks_api.get_document_properties(request)
self.assertTrue(result.code == 200, 'Error has occurred while getting document properties')
Test contain various examples of using the SDK.
Dependencies
- Python 2.7(End of Life in 2020) and 3.7
- referenced packages (see here for more details)
Licensing
All Aspose.Tasks Cloud SDKs, helper scripts and templates are licensed under MIT License.
Contact Us
Your feedback is very important to us. Please feel free to contact us using our Support Forums.
Resources
Website
Product Home
API Reference
Documentation
Blog
Other languages
We generate our SDKs in different languages so you may check if yours is available in our list.
If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.
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 aspose-tasks-cloud-20.8.0.tar.gz
.
File metadata
- Download URL: aspose-tasks-cloud-20.8.0.tar.gz
- Upload date:
- Size: 147.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b657477957d11b1fcb32da91b848756f82a012e8843f52a350e6ce934a33868e |
|
MD5 | 64083434d9e70ab2731bff6c608ffa16 |
|
BLAKE2b-256 | 32b5b1c910b1e31353b36da487d50f1e954494942f9c005d3c9907330e150e16 |
File details
Details for the file aspose_tasks_cloud-20.8.0-py3-none-any.whl
.
File metadata
- Download URL: aspose_tasks_cloud-20.8.0-py3-none-any.whl
- Upload date:
- Size: 470.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4349f2d6e428e5e0e4d5acf8102ae258499c4e0df01f05bee105055f5234a010 |
|
MD5 | c35fe27218e4a9ff95b66ca10defe1d4 |
|
BLAKE2b-256 | 7ed6ea1ae3d710bbcc66d37067839adba3e9e92e0d5857122110d825fd77ce5c |