Saravanan666/pypi-org huggingface dataset:
Package: clouds2mask
Welcome to CloudS2Mask ☁️💡 AboutCloudS2Mask is an open-source Python library that efficiently segments clouds and cloud shadows in Sentinel-2 imagery using state-of-the-art deep learning techniques.🎯 FeaturesHigh-precision cloud and cloud shadow segmentation for Sentinel-2 L1C imagery.Rapid processing: Approximately 2.2 seconds per scene at 20m resolution (RTX 4090, AMD Ryzen 9 5950X).Compatibility with both GPU and non-GPU systems.Supported on Linux, Windows, and macOS.🚀 InstallationWindows Users with NVIDIA GPUs: Before installing CloudS2Mask, ensure you've installedPyTorch with CUDA support, then follow the steps below.Mac and Linux Users: You can proceed with the installation commands below.To install using pip.pip install clouds2maskOr manually.git clone https://github.com/DPIRD-DMA/CloudS2Maskcd CloudS2Maskpip install -q .cd ..💻 UsageHere's a simple demonstration of how to use CloudS2Mask:All you need to do is pass a list of Sentinel-2 level 1C 'SAFE' directories to CloudS2Mask.frompathlibimportPathfromclouds2maskimport(create_settings,batch_process_scenes,)output_dir=Path("./outputs")l1c_folders_path=Path("/path/to/your/S2_l1c_SAFE/folders")l1c_folders=list(l1c_folders_path.glob("*.SAFE"))scene_settings=create_settings(sent_safe_dirs=l1c_folders,output_dir=output_dir,processing_res=20,)paths_to_masks=batch_process_scenes(scene_settings)⚙️ Performance TuningCloudsS2Mask offers a range of performance and accuracy options, here are some examples,Settings for high accuracy inference:scene_settings=create_settings(sent_safe_dirs=l1c_folders,output_dir=output_dir,batch_size=32,tta_max_depth=2,processing_res=10,model_ensembling=True,)Settings for fast inference:scene_settings=create_settings(sent_safe_dirs=l1c_folders,output_dir=output_dir,batch_size=32,processing_res=20,output_compression=None,)Settings for CPU inference:scene_settings=create_settings(sent_safe_dirs=l1c_folders,output_dir=output_dir,batch_size=1,processing_res=20,)CloudS2Mask will try to auto detect acceleration cards such as NVIDIA GPUs or Apple MPS, but you can also manually specify them like this:scene_settings=create_settings(sent_safe_dirs=l1c_folders,output_dir=output_dir,pytorch_device='MPS',)👏 ContributingWe welcome all contributions! Feel free to open an issue or submit a pull request.📄 LicenseThis project is licensed under the MIT License - please refer to the LICENSE file for more details.📝 ContactFor support, bug reporting, or to contribute, feel free to reach out atnicholas.wright@dpird.wa.gov.au.
Package: cloudsat-object-manipulation
# CloudSat Object Manipulation[![Build Status](https://img.shields.io/pypi/v/cloudsat_object_manipulation.svg?branch=master)(https://pypi.python.org/pypi/cloudsat_object_manipulation)
[![PyPI](https://pypi.python.org/pypi/cloudsat_object_manipulation)]
[![PyPI - Python Version](https://pypi.python.org/pypi/cloudsat_object_manipulation)]
[![PyPI - Implimentation](https://pypi.python.org/pypi/cloudsat_object_manipulation)]This package contains a set of packages and command line plugins that can identify indidual cloud objects along CloudSat’s orbit and their associated properties (i.e. cloud type, size, precipitating)Free software: MIT licenseDocumentation:https://cloudsat-object-manipulation.readthedocs.io.## Instalation
To install cloudsat_object_manipulation`bash $ pip installcloudsat-object-manipulation`# FeaturesCloud Object IdentificationExplain FunctionalityLand Sea Mask MatchingExplain FunctionalityPrecipitating Cloud IdentificationExplain FunctionalityCloud Type IdentificationExplain Functionality# CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-18)First release on PyPI.0.1.1 (2019-08-19)Added land sea mask plugin0.1.2 (2019-08-20)Added pypi classifiers0.1.4 (2019-08-22)Added precipitation matching functionality0.1.5 (2019-08-23)added conditional function that checks if rain rate and/or rain function exist in the output netcdf4 do not run functions to find rain rate and rain fractionadded conditional check if the input h5 file does not exist to remove output netcdf file0.1.6 (2019-08-23)testing a new way using c extension to match cloud top, base, and thickness0.1.7 (2019-08-23)Added function to identify warm cloudsAdded function to match reanalysis (currently only tested with ERA-Interim) LTS to cloudsat objectsLTS matching function currently written in pure python, but is being tested as a c-extension0.1.8 (2019-08-26)added getcwd to functions imported from the os package in the cloud_type identification packageUpdated readme and began writing the usage part of the documentation0.1.10 (2019-08-27)added command line executable that matches total column water vapor (currently only using ERA-Interim) to cloudsat objects0.1.11 (2019-09-09)added command line executable that matches relative humidity below 3 km (currently only using ERA-Interim) to cloudsat objects
Package: cloudscale-cli
cloudscale.ch CLIThe officialcloudscale.chcommand line interface (CLI) client.Installpipxinstallcloudscale-cli
cloudscale--helpUsageUsage: cloudscale [OPTIONS] COMMAND [ARGS]...

Options:
  --version                  Show the version and exit.
  -a, --api-token TEXT       API token.
  -p, --profile TEXT         Profile used in config file.
  --debug                    Enables debug log output.
  -o, --output [table|json]  Output format.  [default: table]
  -h, --help                 Show this message and exit.

Commands:
  flavor
  floating-ip
  image
  network
  objects-user
  region
  server
  server-group
  subnet
  volumeDocumentationPlease visithttps://cloudscale-ch.github.io/cloudscale-cli.
Package: cloudsculpter
DevOps GuruDevOps Guru is a python package that provides a simple interface for creating and deploying cloudformation templates to AWS.Installationpipinstalldevops-guruUsagedevops-guru--helpCommandsdevops-gurucreatedevops-gurudeploydevops-gurudeletedevops-gurulistdevops-guruupdateContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseApache License 2.0
Package: cloudselect
FZF Cloud SelectYou may find a documentation at theRead The DocsEnvironmentsAmazon Web Services (AWS)Hetzner cloudKubernetesDiscovery results from a local commandPurposeWe should jump between nodes quickly, having a pack of cloud accounts. Each account could be in a different region. Some nodes are publicity available, some of them not. Dozen of nodes sit behind bastion hosts. And a few of them sit behind a group of jump points. And they all have different SSH keys.There is a~/.ssh/config, but it is not enough because of the dynamic nature of the cloud. It is too clumsy and not suitable for cases when IP addresses are changing instantly, and instances are creating and destroying in minutes.I tried to structure that chaos with shell scripts, but the shell is not enough. I believe that tools likeC/C++/Java/Node.JS/Go?/Rustare too heavy for this case. Python is the exact thing. I like to have a dynamic and lightweight solution. Cloud Select is fast enough to go through thousands of nodes. Maybe if my scope will be higher, then I'll create something other.Cloud Select is useful for diving inside geo-distributed onion enterprise environments with weird security settings.ImplementationCloudSelect retrieves node list from the cloud, passes that list to FZF, adds some useful information to selected nodes (like jump hosts,sudo -icommand, etc...), and returns dictionary that could be used by other programs. CloudSelect is a team player in a shell environment. We can automatically open interactive SSH sessions in parallel and provide passwords tosudo -iunder TMUX environment.DemoThe tool is:connecting to bastion host with public IP 54.171.154.230using locally stored key on bastion because the usage of ssh-agent is restricted by security team ?lol? and sshd settings areAllowTcpForwarding no,GatewayPorts nojumping to 4 EC2 web instances in development environment that located in private subnet 172.30.x.xrunningsudo -iat startupenteringsudopassword 12345678And after that, we have four ready to use interactive sessions in our terminal...You may find a demo files indocs/demodirectory.Basic usageConnect to a single known_hosts serverConnect to a single EC2 AWS instanceAdvanced usageConnect to multiple known_hosts servers, runsudo -icommand at startup and entersudopasswordConnect to multiple EC2 AWS instances, runsudo -icommand at startup and entersudopasswordConnect to multiple EC2 AWS instances through abastionhost, runsudo -icommand at startup and entersudopasswordFeatures:rocket: We may use jump hosts even if jump host hasn't been configured to allow remote port forwarding and we have the following settings in sshd_config:AllowTcpForwardingno
GatewayPortsnoInstallationCloudSelect is on PyPi! You can install CloudSelect with a simple pip command:pipinstallcloudselectAdd profile bash completion:complete-Ccloudselect_completercloudselectYou may copy suitable wrapper fromexampledirectory.LicenseMIT©Alexey Aksenovetal
Package: cloud-select-tool
Cloud SelectThis is a tool that helps a user select a cloud. It will make it easy for an HPC user to say:I need 4 nodes with these criteria, to run in the cloud.And then be given a set of options and prices for different clouds to choose from.
There are some supporting packages that exist already (in Go for AWS) so we will
start there.🚧️under development🚧️This tool is under development and is not ready for production use. See our⭐️Documentation⭐️📦️Pypi Package📦️TODO and Questionsshould cache be organized by region to allow easier filter (data for AWS doesn't have that attribute)go through list of instance features and implement remaining for Google (if possible)Future desiresThese are either "nice to have" or small details we can improve upon. Aka, not top priority.should we allow currency outside USD? Probably not for now.could eventually support different resource types (beyond compute or types of prices, e.g., pre-emptible vs. on demand)aws instance listing (based on regions) should validate regions - an invalid regions simply returns no results😁️ Contributors 😁️We use theall-contributorstool to generate a contributors graphic below.Vanessasaurus💻Jane Herriman💻LicenseHPCIC DevTools is distributed under the terms of the MIT license.
All new contributions must be made under this license.SeeLICENSE,COPYRIGHT, andNOTICEfor details.SPDX-License-Identifier: (MIT)LLNL-CODE- 842614
Package: cloudsen12
A global dataset for cloud and cloud shadow semantic understanding•Introduction•Install•Citation•AcknowledgmentA Python package that provides access to the cloudSEN12 dataset utilizing PySTAC. It also includes the UnetMobV2 model's weights.
SeeCloudSEN12website for examples.Installpip install cloudsen12Citation@article{aybar2022cloudsen12,
  title={CloudSEN12-a global dataset for semantic understanding of cloud and cloud shadow in Sentinel-2},
  author={Aybar, Cesar and Ysuhuaylas, Luis and Loja, Jhomira and Gonzales, Karen and Herrera, Fernando and Yali, Roy and Flores, Angie and Diaz, Lissette and Cuenca, Nicole and Espinoza, Wendy and Prudencio, Fernando and Llactayo, Valeria and Montero, David and Sudmanns, Martin and Tiede, Dirk and Mateo-García, Gonzalo and Gómez-Chova, Luis},
  year={2022},
  publisher={EarthArXiv}
}AcknowledgmentThis project gratefully acknowledges:for computing resources
Package: cloudshare
CloudShare API v3 SDKQuickstartpip install cloudshareThen justimport cloudshareand use the functioncloudshare.req()described below.InterfaceThis library is written for python 3.def req(hostname, method, apiId, apiKey, path="", queryParams=None, content=None)Required parameters are thehostname,method,apiIdandapiKey.hostnameis usuallyuse.cloudshare.comunless your using some mock or proxy.methodis one of "GET", "POST", "PUT", "DELETE", depends on the context of the call.apiIdandapiKeyare valid CloudShare credentials.pathis what comes after the'/api/v3'part of the request url (e.g'envs','vms/actions/executePath')queryParamsare a dict of values that translate to a query string and concatenated to the request urlcontentis a dict that's encoded to JSON and sent in the body section of the request, in POST and PUT requests.Examplesexample.pyEnter your credentials in the two global variablesAPI_IDandAPI_KEYand run it withpython example.py. The script tries to run the commandecho hello worldon the first machine on the first environment it finds (visible to the user's credentials).List your environmentsimport cloudshare
res = cloudshare.req(hostname='use.cloudshare.com',
				method='GET',
				path='envs',
				apiId='Your API ID',
				apiKey='You API Key')
if (res.status / 100 != 2):
	raise Exception(res.status, res.content)
print 'hi! these are my environments:'
print [e['name'] for e in res.content]Get one environmentimport cloudshare
res = cloudshare.req(hostname='use.cloudshare.com',
				method='GET',
				path='envs/' + envId,
				apiId='Your API ID',
				apiKey='You API Key')
if (res.status / 100 != 2):
	raise Exception(res.status, res.content)
print 'look at my environment details:'
print res.contentSuspend an environmentimport cloudshare
res = cloudshare.req(hostname='use.cloudshare.com',
				method='PUT',
				path='envs/actions/suspend',
				queryParams={'envId': envId},
				apiId='Your API ID',
				apiKey='Your API Key')
if (res.status / 100 != 2):
	raise Exception(res.content)
print res.contentBuilding from sourcemake setup
make build testLet's Encrypt CertificatesYou might need to install these root certificates if they were not updated by the OShttps://letsencrypt.org/certs/isrgrootx1.derhttps://letsencrypt.org/certs/isrg-root-x2.derhttps://letsencrypt.org/certs/lets-encrypt-r3.derMore info here:https://letsencrypt.org/certificates/
Package: cloud-sheets-slim
Cloud Sheets SlimInstallationpipinstallcloud-sheets-slimUsagefromcloud_sheets_slimimportCloudSheetsSlimcloud_sheet=CloudSheetsSlim("https://docs.google.com/spreadsheets/d/1LS1gMp_wFkmuFTS17D***your-doc-key***","Sheet1")cloud_sheet.find()Featuresfind_onefindinsert_oneinsert_manyreplace_oneupdate_oneupdate_manydelete_onedelete_manycount_recordsSupported Platform[x] Google Sheetshttps://developers.google.com/sheets/api/quickstart/pythonhttps://developers.google.com/sheets/api/guides/conceptshttps://github.com/burnash/gspreadhttps://docs.gspread.org/en/latest/oauth2.html[ ] Lark sheetshttps://github.com/larksuite/oapi-sdk-pythonhttps://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/sheets/copy_and_paste_by_range.pyhttps://open.larksuite.com/document/server-docs/docs/sheets-v3/spreadsheet-sheet/operate-sheets[ ] MS Excel Sheetshttps://github.com/microsoftgraph/msgraph-sdk-python
Package: cloudshell-app-helper
cloudshell-app-helperFile Location: cloudshell/helpers/app_import, cloudshell/helpers/save_workflowsave_app_info_orch.pysave_app_deployment_infoCreates a 'DeployInfo' object of deployment info for each App in a Sandbox and saves each to the Sandbox Datadeploy_info.pyDeployInfoSerializable Data structure to hold the app templated deployment info and is passed to the Sandbox Datasave_app_utility.pysave_flowWill verify that deployment info for this app was saved to the Sandbox DataWill verify that a display image can be gathered from url or existing template, uses default image if notAttempts to run the hidden 'save_app' command from the cloud provider.Gather deployed app attributesCreate the App XML and uploadsave_flow_just_appWill verify that deployment info for this app was saved to the Sandbox DataWill verify that a display image can be gathered from url or existing template, uses default image if notGather deployed app attributesCreate the App XML and uploadbuild_app_xml.pyapp_templateTakes app deployment info, app resource info and cloud provider info as inputReturns the formatted app xmlupload_app_xml.pyupload_app_to_cloudshellCreates a full blueprint package with the app xml withinUtilizes Quali API to upload the package
Package: cloudshell-autodiscovery
[![Build Status](https://travis-ci.org/QualiSystems/cloudshell-autodiscovery.svg?branch=master)](https://travis-ci.org/QualiSystems/cloudshell-autodiscovery)
[![Coverage Status](https://coveralls.io/repos/github/QualiSystems/cloudshell-autodiscovery-tool/badge.svg?branch=master)](https://coveralls.io/github/QualiSystems/cloudshell-autodiscovery-tool?branch=master)
[![PyPI version](https://badge.fury.io/py/cloudshell-autodiscovery-tool.svg)](https://badge.fury.io/py/cloudshell-autodiscovery-tool)
[![Dependency Status](https://dependencyci.com/github/QualiSystems/cloudshell-autodiscovery/badge)](https://tidelift.com/subscriber/github/QualiSystems/repositories/cloudshell-autodiscovery)
[![Waffle.io - Columns and their card count](https://badge.waffle.io/QualiSystems/cloudshell-autodiscovery.svg?columns=all)](https://waffle.io/QualiSystems/cloudshell-autodiscovery)
[![Documentation Status](https://readthedocs.org/projects/autodiscovery-tool/badge/?version=latest)](https://autodiscovery-tool.readthedocs.io/en/latest/?badge=latest)<a href=”docs/_build/pdf/cloudshell-autodiscovery.pdf”>Offline PDF Documentation</a>
<p align=”center”>
<img src=”https://github.com/QualiSystems/devguide_source/raw/master/logo.png”></img>
</p>—# CloudShell Autodiscovery tool
Command line tool for discovering devices and uploading them on theCloudShellplatform
Package: cloudshell-rest-api
# cloudshell-rest-api[![Build status](https://github.com/QualiSystems/cloudshell-rest-api/workflows/CI/badge.svg?branch=master)](https://github.com/QualiSystems/cloudshell-rest-api/actions?query=branch%3Amaster)
[![codecov](https://codecov.io/gh/QualiSystems/cloudshell-rest-api/branch/master/graph/badge.svg)](https://codecov.io/gh/QualiSystems/cloudshell-rest-api)
[![PyPI version](https://badge.fury.io/py/cloudshell-rest-api.svg)](https://badge.fury.io/py/cloudshell-rest-api)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)## FeaturesAdd Shell - adds a new Shell Entity (supported from CloudShell 7.2)Update Shell - updates an existing Shell Entity (supported from CloudShell 7.2)Delete Shell - removes an existing Shell Entity (supported from CloudShell 9.2)Get Shell - get Shell’s informationGet Installed Standards - gets a list of standards and matching versions installed on CloudShell (supported from CloudShell 8.1)Import Package - imports a package to CloudShellExport Package - exports a package from CloudShell## Installation`bash pip installcloudshell-rest-api`## Getting started`python from cloudshell.rest.api import PackagingRestApiClient # Loging to CloudShell client =PackagingRestApiClient.login("HOST","USERNAME", "PASSWORD", "DOMAIN") # Or connect with a token client =PackagingRestApiClient("HOST","TOKEN") # Add a new Shell to CloudShellclient.add_shell("SHELL_PATH.zip")`## LicenseFree software: Apache Software License 2.0History9.0.0 (2023-05-04)Added get_shell_as_model, get_installed_standards_as_modelAdded the ability to connect with an existing tokenAdded progress bar for downloading/uploading filesRemoved support of Python28.2.2.0 (2019-01-08)Added delete shell method to rest-api8.2.0.0 (2017-09-19)newest addition to rest-api. please welcome get_shell - returns a requested shell information8.1.1.0 (2017-08-27)remodeling update_shell to also accept shell name8.1.0.1 (2017-06-12)Bug fix8.1.0.0 (2017-06-04)Query installed standards on CloudShell server7.2.0.6 (2016-09-01)First release of with Add Shell and Update Shell features
Package: cloudshell-sandboxapi-wrapper
Installationpip install cloudshell_sandboxapi_wrapperExample Usagefrom cloudshell_sandboxapi_wrapper.SandboxAPI import SandboxAPI
sandbox = SandboxAPI(host=SERVER_NAME, username=USERNAME, password=PASSWORD, domain=DOMAIN, port=SERVER_PORT)
blueprints = sandbox.get_blueprints()
blueprint_id = sandbox.get_blueprint_details(blueprint_id=BLUEPRINT_NAME)['id']
sandbox_id = sandbox.start_sandbox(BLUEPRINT_NAME, PT23H, SANDBOX_NAME)
sandbox.stop_sandbox(sandbox_id)Note:Tested on cloudshell 9.3 with Python 2.7/3.7/3.8.
For API details, please refer to CloudShell Sandbox API help:CloudShell Sandbox API
Package: cloudshell-sandbox-rest
Cloudshell Sandbox Rest Api ClientA python client wrapper around
thecloudshell sandbox api. No additional library object wrapping implemented. All methods return the json.loads python object in the shape of the
documented json response. See
thedocumentationfor details.Installationpip install cloudshell-sandbox-restBasic Usagefromcloudshell.sandbox_rest.sandbox_apiimportSandboxRestApiSession# pull in api user credentialsCS_SERVER="localhost"CS_USER="admin"CS_PASSWORD="admin"CS_DOMAIN="Global"TARGET_BLUEPRINT="<MY_BLUEPRINT_NAME>"DEPLOYED_SANDBOX_NAME="My Rest Api Blueprint"api=SandboxRestApiSession(host=CS_SERVER,username=CS_USER,password=CS_PASSWORD,domain=CS_DOMAIN)start_response=api.start_sandbox(blueprint_id=TARGET_BLUEPRINT,sandbox_name=DEPLOYED_SANDBOX_NAME)sandbox_id=start_response["id"]components_response=api.get_sandbox_components(sandbox_id)print(f"total components in sandbox:{len(components_response)}")Context Manager UsageUsing the api session with a context manager "with" statement will log out and invalidate the token for you.fromcloudshell.sandbox_rest.sandbox_apiimportSandboxRestApiSessionCS_SERVER="localhost"CS_USER="admin"CS_PASSWORD="admin"CS_DOMAIN="Global"TARGET_BLUEPRINT="<MY_BLUEPRINT_NAME>"DEPLOYED_SANDBOX_NAME="My Rest Api Blueprint"api=SandboxRestApiSession(host=CS_SERVER,username=CS_USER,password=CS_PASSWORD,domain=CS_DOMAIN)withapi:start_response=api.start_sandbox(blueprint_id=TARGET_BLUEPRINT,sandbox_name=DEPLOYED_SANDBOX_NAME)sandbox_id=start_response["id"]components_response=api.get_sandbox_components(sandbox_id)print(f"total components in sandbox:{len(components_response)}")print(f"session token is:{api.token}")print(f"session token outside context manager:{api.token}")NOTE: api login happens during init, not on entering contextcontext exit invalidates tokenInstantiate Session with TokenCommon use case is for admin to pull user token and start a session on their behalf. This can be done as seen in example
below.fromcloudshell.sandbox_rest.sandbox_apiimportSandboxRestApiSession# admin credentialsCS_SERVER="localhost"CS_USER="admin"CS_PASSWORD="admin"ADMIN_DOMAIN="Global"# end user detailsTARGET_END_USER="end user"TARGET_USER_DOMAIN="<END_USERS_DOMAIN>"TARGET_BLUEPRINT="<MY_BLUEPRINT_NAME>"DEPLOYED_SANDBOX_NAME="My Rest Api Blueprint"admin_api=SandboxRestApiSession(host=CS_SERVER,username=CS_USER,password=CS_PASSWORD,domain=ADMIN_DOMAIN)withadmin_api:user_token=admin_api.get_token_for_target_user(TARGET_END_USER)user_api=SandboxRestApiSession(host=CS_SERVER,token=user_token,domain=TARGET_USER_DOMAIN)withuser_api:start_response=user_api.start_sandbox(blueprint_id=TARGET_BLUEPRINT,sandbox_name=DEPLOYED_SANDBOX_NAME)sandbox_id=start_response["id"]components_response=user_api.get_sandbox_components(sandbox_id)print(f"total components in sandbox:{len(components_response)}")Note the use of nested context managers to manage the different session tokensLicenseFree Software: MIT License