Saravanan666/pypi-org huggingface dataset:
Package: cloudconvert
cloudconvert-pythonThis is the official Python SDK for theCloudConvertAPI v2.Installationpip install cloudconvertCreating API Clientimportcloudconvertcloudconvert.configure(api_key='API_KEY',sandbox=False)Or set the environment variableCLOUDCONVERT_API_KEYand use:importcloudconvertcloudconvert.default()Creating Jobsimportcloudconvertcloudconvert.configure(api_key='API_KEY')cloudconvert.Job.create(payload={"tasks":{'import-my-file':{'operation':'import/url','url':'https://my-url'},'convert-my-file':{'operation':'convert','input':'import-my-file','output_format':'pdf','some_other_option':'value'},'export-my-file':{'operation':'export/url','input':'convert-my-file'}}})Downloading FilesCloudConvert can generate public URLs for usingexport/urltasks. You can use these URLs to download output files.exported_url_task_id="84e872fc-d823-4363-baab-eade2e05ee54"res=cloudconvert.Task.wait(id=exported_url_task_id)# Wait for job completionfile=res.get("result").get("files")[0]res=cloudconvert.download(filename=file['filename'],url=file['url'])print(res)Uploading FilesUploads to CloudConvert are done viaimport/uploadtasks (see
thedocs). This SDK offers a convenient upload method:job=cloudconvert.Job.create(payload={'tasks':{'upload-my-file':{'operation':'import/upload'}}})upload_task_id=job['tasks'][0]['id']upload_task=cloudconvert.Task.find(id=upload_task_id)res=cloudconvert.Task.upload(file_name='path/to/sample.pdf',task=upload_task)res=cloudconvert.Task.find(id=upload_task_id)Webhook SigningThe node SDK allows to verify webhook requests received from CloudConvert.payloadString='...';# The JSON string from the raw request body.signature='...';# The value of the "CloudConvert-Signature" header.signingSecret='...';# You can find it in your webhook settings.isValid=cloudconvert.Webhook.verify(payloadString,signature,signingSecret);# returns true or falseSigned URLsSigned URLs allow converting files on demand only using URL query parameters. The Python SDK allows to generate such
URLs. Therefore, you need to obtain a signed URL base and a signing secret on
theCloudConvert Dashboard.base='https://s.cloudconvert.com/...'# You can find it in your signed URL settings.signing_secret='...'# You can find it in your signed URL settings.cache_key='cache-key'# Allows caching of the result file for 24hjob={"tasks":{"import-file":{"operation":"import/url","url":"https://github.com/cloudconvert/cloudconvert-php/raw/master/tests/Integration/files/input.pdf"},"export-file":{"operation":"export/url","input":"import-file"}}}url=cloudconvert.SignedUrl.sign(base,signing_secret,job,cache_key);# returns the URLUnit Tests# Run Task tests
$ python tests/unit/testTask.py

# Run Job tests
$ python tests/unit/testJob.py

# Run Webhook tests
$ python tests/unit/testWebhookSignature.pyIntegration Tests# Run Integration test for task
$ python tests/integration/testTasks.py 

# Run Integration test for Job
$ python tests/integration/testJobs.pyResourcesAPI v2 DocumentationCloudConvert Blog
Package: cloud-crony
RESTful Scheduling as a Service: Scheduled Tasks for the Cloudversion:0.0.0Table of ContentsFeaturesExtensionsDevelopmentLicenseFeaturesHere are some of the planned features for the first release:* Easy to deploy
    - one command to acquire libraries (pip!)
    - one command worker registration
    - one command API setup
* Guaranteed task execution - no missed jobs
* Secure by default - sandboxed execution for workers
* Autoscaling - need more workers? Cloud Crony can spin them up for you
* Python 2.7+ and 3.3+ supported
* RESTful - client bindings can be in any language that can speak HTTP/JSON
* Familiar scheduling syntax - welcome back, Cron.ExtensionsThe following are a list of potential extensions to the scheduling service:* Tenanted service - namespace schedules by tenant
* Scheduling profiles
    * Maximum per task runtime
    * Maximum concurrent tasks
    * Preemption allowed
* Task groups - in conjunction with profiles
    * /schedules/{group}/tasks/
    * Allow special configuration for group
* Autoscaling
* Preemptive scheduling
* Prioritized scheduling
    * Assign task priorities
    * Choose next task based on priority + dealine
* Real-time scheduling
    * Fail tasks that take too long
    * Specify task deadline as well as periodicity
        * Task deadline given relative to periodicity
* Improved security
    * Better sandboxing
* Error reporting task specification
    * error_hook: task to handle main process errors
    * similar to progress hook
    * Appends them to GET /schedules/{id} "errors" field
* Client bindings
* Backend configuration options and drivers
    * MongoDB
    * Redis
    * sqlite
    * Some sort of Cloud DBDevelopmentThe core maintainer is Alejandro Cabrera
<alejandro.cabrera@rackspace.com>. Feel free to reach out to him with
any questions you have.LicenseCopyright 2013 Alejandro CabreraLicensed under the Apache License, Version 2.0 (the “License”); you
may not use this file except in compliance with the License.  You may
obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.  See the License for the specific language governing
permissions and limitations under the License.
Package: cloud-crony-worker
RESTful Scheduling as a Service: Cloud Crony Workerversion:0.0.0Table of ContentsDevelopmentLicenseDevelopmentThe core maintainer is Alejandro Cabrera
<alejandro.cabrera@rackspace.com>. Feel free to reach out to him with
any questions you have.LicenseCopyright 2013 Alejandro CabreraLicensed under the Apache License, Version 2.0 (the “License”); you
may not use this file except in compliance with the License.  You may
obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.  See the License for the specific language governing
permissions and limitations under the License.
Package: cloud-curator-cli
Copyright (c) 2020 Joseph HissongPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: # cloud-curator-cliCloud-Curator-CLI takes Click and Boto3, and makes it easy to create and run reports for AWS.Platform: UNKNOWN
Package: cloud-dataplug
dataplugdataplug is a Python framework for efficiently accessing partitions of unstructured data stored in object storage for elastic workloads in the CloudUsing dataplug, users can defineCloud-native data typesfor objects and files stored in Object Storage. Each type implements data-format specific preprocessing techniques to generate indexes and metadata, which are later used to partition one or more objecton-the-flyusing efficient Object Storage native APIs (HTTP PUT/GET).Dataplug avoids costly ETL preprocessing jobs, such as generating static partitions of a dataset. Static partitions are not ideal, as it imposes an arbitrary partition size that does not fit all workloads, or it may also involve potentially duplicated data.Dataplug implements an extensible interface, where users can define new cloud-native data types, new preprocessing techniques, and new partitioning strategies, so that it always fits the needs of the workload at hand. In addition, users can publish and share implemented extensions publicly via plugins for other users to use them, promoting good practices such as reusable optimized code.Dataplug is serverless and is portablefor use with your favourite distributed data analytics cluster or serverless framework (Dask, Ray, PySpark, Lithops, ...) in any Cloud (AWS, Google Cloud, ...) or on-premise, without the need to manage servers for preprocessing jobs.Partitioning text example# Assign UTF8Text data type for object in s3://testdata/lorem_ipsum.txtco=CloudObject.from_s3(UTF8Text,'s3://testdata/lorem_ipsum.txt')# Generate 8 partitions, using whole_words_strategy, which avoids cutting words in half# A data_slice is a reference to a partition, which is lazily evaluateddata_slices=co.partition(whole_words_strategy,num_chunks=8)defword_count(data_slice):# Evaluate the data_slice, which will return the actual partition texttext_chunk=data_slice.get()words=defaultdict(lambda:0)forwordintext_chunk.split():words[word]+=1returndict(words)# Use Lithops for deploying a parallel serverless job# which will scatter generated data slices, one to each workerfexec=lithops.FunctionExecutor()fexec.map(word_count,data_slices)result=fexec.get_result()
Package: cloud-detect
cloud-detectAboutcloud-detectis a Python module that determines a host's cloud provider. Highly inspired by the Go basedSatellite,cloud-detectuses the same techniques (file systems and provider metadata) to properly identify cloud providers.FeaturesSupports identification of Alibaba, AWS, Azure, Digital Ocean, GCP, Oracle Cloud and Vultr hosts.Fast and supports asyncioLogging integration.Small and extensible.Usage>>> from cloud_detect import provider
>>> provider()
'aws'

>>> provider() # when tested in local/non-supported cloud env
'unknown'Right now the only possible responses are: 'alibaba', 'aws', 'azure', 'do', 'gcp', 'oci', 'vultr' or 'unknown'You can get the list of supported providers using>>> from cloud_detect import SUPPORTED_PROVIDERSInstallationVia pip:pip install cloud-detectExamplesTermination-handleruses cloud-detect to keep the handling of termination notices on spot/preemptible instances cloud-agnostic, making easier to operate the same tooling in various distinct environments.How to contributeCheck for open issues or open a fresh issue to start a discussion around a feature idea or a bug.Forkthe repositoryon GitHub to start making your changes to the master branch (or branch off of it).Write a test which shows that the bug was fixed or that the feature works as expected.Send apull requestand bugmeuntil it gets merged and published.Some things that would be great to have:Add more cloud providersAdd codecov
Package: clouddl
clouddlDownloader for Google Drive & DropBoxPython 3Works on all operating systemsNo API keys / credentials neededAuto extracts .zip filesAuto extracts .rar files (requires 7zip)Auto deletes compressed files after extractionInstallationpip install clouddlUsagefromclouddlimportgrab# grab(url, folder_path)grab('https://drive.google.com/file/d/.../view?usp=sharing','./Downloads/')Verbosefromclouddlimportgrab#grab(url, folder_path, quiet=False)grab('https://drive.google.com/file/d/.../view?usp=sharing','./Downloads/',quiet=False)Bulk Usagefromclouddlimportgrabdownload_list=['URL1','URL2','URL3']forurlindownload_list:grab(url,'./')Variable AccessfromclouddlimportDROPBOX_URL,GDRIVE_URLSupported URLsGoogle Drivehttps://drive.google.com/drive/folders/...?usp=sharing
https://drive.google.com/file/d/.../view?usp=sharingDropboxhttps://www.dropbox.com/s/.../...?dl=0
https://www.dropbox.com/s/.../...?dl=1
https://www.dropbox.com/sh/.../...?dl=0
https://www.dropbox.com/sh/.../...?dl=1AcknowledgementsThank you to the authors of the following repos:"gdrivedl" by matthuisman -https://github.com/matthuisman/gdrivedl"lootdl" by jesusyanez -https://github.com/jesusyanez/lootdl
Package: cloud-downloader-equitania
cloud-downloader====================================================================================
This is a simple python library that helps you download files from GDrive, HiDrive, Dropbox and Sharepoint/Onedrive.Installationcloud-downloader requires:Python (>= 3.6)click (>= 7.1.2)Use the package managerpipto install cloud-downloader.pipinstallcloud-downloader-equitaniaUsage$cloud-download--help
usage:cloud-download[--help][--link][--filename]Options:--linkTEXTSharedlinkfromcloudhoster(Supported:GDrive,nextcloud,HiDrive,DropboxandSharepoint/Onedrive)--filenameTEXTNameoffiletobesaved--helpShowthismessageandexit.Example# Execution with Google drivecloud-download--linkhttps://drive.google.com/file/d/1OrM4vfhgsj_nktRE4Awzj_ANiWgPYm/view?usp=sharing--filenametest.pdf# Execution with Dropboxcloud-download--linkhttps://www.dropbox.com/s/vom8egdsgsujda/qr-code.png?dl=0--filenametest.png# Execution with hidrivecloud-download--linkhttps://my.hidrive.com/lnk/O85gdsBcy--filenametest.zip# Execution with Google drivecloud-download--linkhttps://cmcequitania-my.sharepoint.com/:b:/g/personal/l_olo_olo_vanderlei_de/ETFRJfONT19Pr-C15olJHTwehodsPypePr0ScOWILuw?e=ISj7K7--filenametest.pdf# Execution without link and filenamecloud-downloadThis project is licensed under the terms of theAGPLv3license.
Package: cloudelements
CLOUD ELEMENTS PYTHON SDK==========================[![Build Status](https://travis-ci.org/MobileWorks/cloudelements.svg)](https://travis-ci.org/MobileWorks/cloudelements) [![Coverage Status](https://coveralls.io/repos/MobileWorks/cloudelements/badge.svg?branch=master)](https://coveralls.io/r/MobileWorks/cloudelements?branch=master) [![Join the chat at https://gitter.im/MobileWorks/cloudelements](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/MobileWorks/cloudelements?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)This SDK is a basic wrapper around the HTTP/S calls needed to use CloudElementsCurrent Version: 0.2------v0.2.1----* Add pagination for CRM Hubsv0.2----* More complete coverage for the CE API including CRM hubs, instances, elements, and providers* Updated test cover* More consistent naming conventions* Group tests via "type"v0.1-----* Mostly SalesForce and CRM Hub integration##INSTALLATION```shellgit clone git@github.com:MobileWorks/cloudelements.git cloudelementscd cloudelementspip install -e .pip install -r test-requirements.txt```## SETUPInstead of having set variables in the file, the tests rely on environment variables for your instances.You can use a tool like [direnv](https://github.com/zimbatm/direnv/) or [autoenv](https://github.com/kennethreitz/autoenv)Currently the tests use these:```pythonos.getenv('CLOUD_ELEMENTS_USER_SECRET')os.getenv('CLOUD_ELEMENTS_ORG_SECRET')os.getenv('SALES_FORCE_SECRET')os.getenv('SALES_FORCE_ACCESS_KEY')os.getenv('SALES_FORCE_CALLBACK_URL')```## RUN TESTS``` py.test -v ```OR```shellpip install toxtox .```v0.2.1----* Add pagination for CRM Hubsv0.2----* More complete coverage for the CE API including CRM hubs, instances, elements, and providers* Updated test cover* More consistent naming conventions* Group tests via "type"v0.1-----* Mostly SalesForce and CRM Hub integration
Package: cloudendure
cloudendure-pythonPython wrapper and CLI forCloudEndureRequirementsPython 3.7+Installation & UsageBasic Installation / pippipinstallcloudendure
cloudendureversionLocal Development with Poetrybrewinstallpoetry# if not installedpoetryinstallLocal Development with Dockerdockerrun--rm-itcloudendurepy/cloudendurebashUsageThen import the package:importcloudendureGetting StartedCloudEndure Pipeline FlowCloudEndure Data FlowPipeline Flow (as seen in AWS Console)Logging in via CLI using environment variablesPlease note:cloudendureandcecan be used interchangeablyexportCLOUDENDURE_USERNAME=<your_ce_user>exportCLOUDENDURE_PASSWORD=<your_ce_password>exportCLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>

cloudendureapiloginorexportCLOUDENDURE_USER_API_TOKEN=<your_ce_user_api_token>exportCLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>

ceapiloginLogging in via CLI inlinePlease note:cloudendureandcecan be used interchangeablycloudendureapilogin--user=<your_ce_user>--password=<your_ce_password>orceapilogin--token=<your_ce_user_api_token>Logging in for the first time will generate the~/.cloudendure.ymlfile.Coming SoonThis project is currently a work in progress and will actively change. This client has not yet been finalized and is entirely subject to change.ChangelogCheck out theCHANGELOG
Package: cloudendure2
CloudEndure SDKPython PackageCompatability:Using CloudEndureSDKDOCUMENTATION WORK IN PROGRESS...Example - Backup All Blueprints:fromcloudendureimportCloudendureSDKuserApiToken="{TOKEN}"client=CloudendureSDK(userApiToken)client.export_all_bp_csv('blueprint_backup.csv')Example - List All ProjectsfromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)projects=client.list_projects()print(projects)Example - List all project blueprints:fromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)blueprints=client.list_blueprint(projectId)Example - List all machines in a projectfromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)machines=client.list_machines(projectId)print(machines)Example - Get a machine blueprint and export to csvfromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)machine=client.get_machine_by_name(machineName='MyMachineName',projectId=projectId)blueprint=[client.get_blueprint_by_machine(machineId=machine['id'],projectId=projectId)]print(blueprint)client.export_bp_csv(filename='export.csv',blueprint=blueprint)Example - Get Machine by NamefromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)machine=client.get_machine_by_name(machineName='MyMachine',projectId=projectId)print(machine)Example - Mass update blueprints from csvfromcloudendureimportCloudendureSDKuserApiToken='token'projectId='projectId'client=CloudendureSDK(userApiToken)# Backup All Blueprintsclient.export_all_bp_csv('backup.csv')r=client.update_machine_blueprint_csv(fileName='update.csv')print(r)
Package: cloud-enforcer
Cloud EnforcerConfiguration enforcement dependencies for  secure microcosms in cloud environmentsFree software: MIT licenseDocumentation:https://cloud-enforcer.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-08-12)First release on PyPI.
Package: cloudengine
CloudEngineOpen source backend for mobile.OverviewCloudEngine is an open source backend for building awesome mobile apps built using Python and django.
The aim of the project is to help mobile app developers get their apps off the ground
as quickly as possible. For this, CloudEngine provides basic services
required for building rich mobile apps out-of-the-box. The aim is also to create fully
customizable and extensible framework for
building backend mobile services.RequirementsCloudEngine runs only on gunicorn server and hence currently runs only
on UNIX environments. For development purposes, you can use django’s builtin webserver.Python (2.7.5+)MongoDB (2.4.6+)MySQL (5.5+)All the python library dependencies are listed inrequirements.txtDocumentation & SupportComplete documentation is available at -http://getcloudengine.com/docsFor discussions, questions and support use the [Github issue tracking][issue-tracker]You may also want to [follow cloudengine on twitter] [twitter].LicenseSee the LICENSE file for more info.[twitter]:https://twitter.com/thecloudengine[issue-tracker]:https://github.com/cloudengine/CloudEngine/issues[android-sdk]:https://github.com/cloudengine/Android-SDK[projectpage]:http://getcloudengine.com
Package: cloudeos
CloudeosApiCloudeos.com için python api kullanımı örnegidir, api dökümanlarından bakarak bu örneği genişletebilirsiniz.Mevcut istek örnekleri:Get Account DetailGet Current BalanceCreate ServerGet Server ListsDestroy ServerCreate SSH KeyGet SSH KeysDestroy SSH KeysGet RegionsGet PackagesExampleGet Account Detail:from cloudeos import API


cloudeos = API("username", "password")

account_detail = cloudeos.get_accountDetail()

print(account_detail)Create Server:from cloudeos import API


cloudeos = API("username", "password")

name	 = "MyServer"
region	 = "ist2"
package  = "1c-1r-25d"
image	 = "ubuntu-16-04-x64"
ssh_keys = "MySSHKey fingerprint degeri" #key olusturulmussa veya istege bagli

create   = cloudeos.create_server(name, region, package, image, ssh_keys=ssh_keys)

print(create)Diğer örnekleri Examples klasöründe bulabilir ve genişletebilirsiniz.
Package: clouder
☁️ ClouderCreate, manage and share Kubernetes clusters.Clouder allows you to:Create and monitor Kubernetes clusters.Manage Helm deployments.Schedule the size of the Kubernetes clusters.Take backup and restore for disaster recovery.Share the cluster and give controlled access to other users.Developpipinstall-e.[test]jupyterlabextensiondevelop.--overwrite
jupyterlabextensionlist
jupyterserverextensionlist# open http://localhost:8888/api/jupyter/lab?token=60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6yarnjupyterlabReleasesClouder is released inPyPI.
Package: cloudeventful
Cloud EventfulBroker agnostic library to associate JSON Schemas to message broker topics.InstallCloud Eventful is on PyPI and can be installed with:poetryaddcloudeventfulorpipinstallcloudeventfulUsageThis library provides aCloudEventfulclass which can be used to generateCloudEventsand associatePydanticmodels as the cloud eventdatafield
on a per-topic basis.Model RegistrationA model is associated with a pattern describing the topics it may be published to using
thedata_modeldecorator.importrefromcloudeventfulimportCloudEventfulfrompydanticimportBaseModelce=CloudEventful(api_version="1.0.0",default_source="my/event/server")@ce.data_model(re.compile(r"/.*/coffee"))classCoffee(BaseModel):flavor:strCloud Event GenerationOnce data models are registered, CloudEvent objects can be generated with an instance of
the generated model as the CloudEventdataproperty.>>>ce.event(Coffee(flavor="mocha"))CloudEvent[ModelType](id='9b21a718-9dc1-4b56-a4ea-4e9911bc8ca6', source='my/event/server', specversion='1.0', type='Coffee', data=Coffee(flavor='mocha'), datacontenttype='application/json', dataschema='/Coffee', subject='Coffee', time=datetime.datetime(2022, 11, 19, 15, 33, 6, 39795))PublishA publish function can be registered with aCloudEventfulinstance to enforce topic
integrity at run time. This is done by setting thepublish_functionproperty on aCloudEventfulinstance.A publish function must accept at least a topic arg as a str and a data arg as a
registered data model.Then, theCloudEventfulpublish function can be used to wrap data models in a
CloudEvent and publish them as JSON strings. Keyword args will be passed to the
registered publish function.Example using MQTT with PahoimportrefromcloudeventfulimportCloudEventfulimportpaho.mqtt.clientasmqttfrompydanticimportBaseModelserver_id="my/event/server"client=mqtt.Client(server_id)client.connect("127.0.0.1")ce=CloudEventful(api_version="1.0.0",default_source=server_id,publish_function=client.publish,default_topic_factory=lambdam:f"/api/v1/{type(m).__name__.lower()}")@ce.data_model(re.compile(r"/.*/coffee"))classCoffee(BaseModel):flavor:str@ce.data_model(re.compile(r"/.*/pen"))classPen(BaseModel):color:str# Publish a data model wrapped in a cloud event.ce.publish(Coffee(flavor="mocha"))# Raise `ValueError` because topic does not match pattern of this model.ce.publish(Pen(color="black"),topic="wrong-topic")Support The Developer