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-19.12.0.tar.gz
.
File metadata
- Download URL: aspose-tasks-cloud-19.12.0.tar.gz
- Upload date:
- Size: 144.0 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 | 436d63d01ae95f6d25a9e45e17e23cf125894d69e7593a6a0888aca02bc6fd9f |
|
MD5 | 05764f42ec52156b37b9bbe408d4c783 |
|
BLAKE2b-256 | c13ae5438c4b3c1af1adc49a2633e354b9e88b157158d4c83797a12949310c26 |
File details
Details for the file aspose_tasks_cloud-19.12.0-py3-none-any.whl
.
File metadata
- Download URL: aspose_tasks_cloud-19.12.0-py3-none-any.whl
- Upload date:
- Size: 463.6 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 | 60ef605fc37ceb5c4076cf9f5405646c2ef7acbbc76f4468d6f535d7527ade41 |
|
MD5 | aa534114ce6598964457e63a0de00b6b |
|
BLAKE2b-256 | 5cb3ef656b0eac9ff32e128070877320626d327418e5c1c7ac2a2e5ae82e0b37 |