Saravanan666/pypi-org huggingface dataset:
Package: ibm-code-engine-sdk
Python SDK for IBM Cloud Code Engine 3.1.0Python client library to interact with theIBM Cloud Code Engine API.Table of ContentsPython SDK for IBM Cloud Code Engine 3.1.0Table of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Cloud Code Engine Python SDK allows developers to programmatically interact with the following
IBM Cloud services:Service NameImported Class NameIBM Cloud Code Engine V2CodeEngineV2IBM Cloud Code Engine V1IbmCloudCodeEngineV1PrerequisitesAnIBM Cloudaccount.An IAM API key to allow the SDK to access your account. Create onehere.Python 3.7 or above.InstallationTo install, usepiporeasy_install:pipinstall--upgrade"ibm_code_engine_sdk>=3.1.0"oreasy_install--upgrade"ibm_code_engine_sdk>=3.1.0"Using the SDKExamples and a demo are available in theexamplefolder.For general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a questionStack Overflow.IssuesIf you encounter an issue with the project, you are welcome to submit abug report.
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.
Package: ibm-container-registry
IBM Cloud Container Registry Python SDKPython client library to interact with theIBM Cloud Container Registry API, andIBM Cloud Container Registry Vulnerability Advisor APIDisclaimer: this SDK is being released initially as apre-releaseversion.
Changes might occur which impact applications that use this SDK.Table of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Cloud Container Registry Python SDK allows developers to programmatically interact with the following
IBM Cloud services:Service NameImported Class NameContainer Registry image management APIibm_container_registry.container_registry_v1Container Registry Vulnerability Advisor APIibm_container_registry.vulnerability_advisor_v3PrerequisitesAnIBM Cloudaccount.An IAM API key to allow the SDK to access your account. Create onehere.Python 3.7 or above.InstallationTo install, usepiporeasy_install:pipinstall--upgrade"ibm-container-registry>=1.1.0"oreasy_install--upgrade"ibm-container-registry>=1.1.0"Using the SDKFor general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a questionStack Overflow.IssuesIf you encounter an issue with the project, you are welcome to submit abug report.
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.
Package: ibm-continuous-delivery
IBM Cloud Continuous Delivery Python SDK v1.5.0The Python client library to interact with theIBM Cloud Continuous Delivery Toolchain and Tekton Pipeline APIs.Python VersionThe current minimum Python version supported is 3.8.Table of ContentsIBM Cloud Continuous Delivery Python SDK v1.5.0Python VersionTable of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Cloud Continuous Delivery Python SDK allows developers to programmatically interact with the following
IBM Cloud services:Service NameModule NameImported Class NameToolchain APIcd_toolchain_v2CdToolchainV2Tekton Pipeline APIcd_tekton_pipeline_v2CdTektonPipelineV2PrerequisitesAnIBM Cloudaccount.An IAM API key to allow the SDK to access your account. Create onehere.Python 3.7 or above.InstallationTo install, usepip:python-mpipinstall--upgradeibm-continuous-deliveryUsing the SDKFor general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a question atStack Overflow.
Alternatively, you can reach out to the IBM Cloud Continuous Delivery development team by joining us onSlack.IssuesIf you encounter an issue with the project, you are welcome to submit abug report.
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.
Package: ibm-cos-sdk-config
IBM COS Resource Configuration SDK for PythonThis package allows Python developers to write software that interacts with the Resource Configuration API forIBM Cloud Object Storage.NoticeIBM has added aLanguage Support Policy. Language versions will be deprecated on the published schedule without additional notice.DocumentationCore documentation for IBM COSREST API Reference and Code ExamplesPython Resource Configuration API reference documentationFor release notes, see theCHANGELOG.Quick startYou will need:An instance of COS.An API key fromIBM Cloud Identity and Access Management.These values can be found in the IBM Cloud Console bygenerating a 'service credential'.Getting the SDKThe preferred way to install the IBM COS Resource Configuration SDK for Python is to use thepippackage manager. Simply type the following into a terminal window:pipinstallibm-cos-sdk-configGetting HelpFeel free to use GitHub issues for tracking bugs and feature requests, but for help please use one of the following resources:Read a quick start guide inIBM Cloud Docs.Ask a question onStack Overflowand tag it withibmandobject-storage.Open a support ticket withIBM Cloud SupportIf it turns out that you may have found a bug, pleaseopen an issue.Language Support PolicyIBM supportscurrent public releases. IBM will deprecate language versions 90 days after a version reaches end-of-life. All clients will need to upgrade to a supported version before the end of the grace period.LicenseThis SDK is distributed under theApache License, Version 2.0.
Package: ibm-cos-sdk-core
ibm-cos-sdk-python-coreA low-level interface to IBM Cloud Object Storage based on theibm_botocorepackage. This core package is the foundation for theibm-cos-sdk-pythonpackage.DocumentationDocumentation foribm-cos-sdk-python-corecan be foundhere.Getting HelpFeel free to use GitHub issues for tracking bugs and feature requests, but for help please use one of the following resources:Ask a question onStack Overflowand tag it withibmandobject-storage.Open a support ticket withIBM Cloud SupportIf it turns out that you may have found a bug, pleaseopen an issue
Package: ibm-cpp-orchestration
IBM CPD Orchestration Python ClientThis package supports users in usage of CPD Orchestration.
It's primary usage is to enable users to store artifact results
of a Orchestration Flow run.UsageClient constructionCPDOrchestrationclient is constructed from IAM APIKEY, which can be provided
in a few ways:explicitly:fromibm_cpp_orchestrationimportCPDOrchestrationclient=CPDOrchestration(apikey)# orclient=CPDOrchestration.from_apikey(apikey)implicitly:APIKEY=...exportAPIKEYfromibm_cpp_orchestrationimportCPDOrchestrationclient=CPDOrchestration()# orclient=CPDOrchestration.new_instance()# orclient=CPDOrchestration.from_apikey()All of the above may also defineservice_nameandurl.Usage in Python notebooksNotebooks run in Orchestration Platform get inputs and expose outputs
as a node in Orchestration Flow:{
  "id": ...,
  "type": "execution_node",
  "op": "run_container",
  "app_data": {
    "pipeline_data": {
      "name": ...,
      "config": {
        "link": {
          "component_id_ref": "run-notebook"
        }
      },
      "inputs": [
        ...,
        {
          "name": "model_name",
          "group": "env_variables",
          "type": "String",
          "value_from": ...
        }
      ],
      "outputs": [
        {
          "name": "trained_model",
          "group": "output_variables",
          "type": {
            "CPDPath": {
              "path_type": "resource",
              "resource_type": "asset",
              "asset_type": "wml_model"
            }
          }
        }
      ]
    }
  },
  ...
}Inside of the notebook, inputs are available as environmental
variables:model_name=os.environ['model_name']Outputs are exposed using sdk method,store_results:client=CPDOrchestration.from_apikey(...)client.store_results({"trained_model":...//cpdpathtothetrainedmodel})Other featuresClient also provides a method to get WML instance credentials:client.get_wml_credentials()# the scope passed in notebook# orclient.get_wml_credentials("cpd://projects/123456789")ContributionSee a separatedocument on contribution.
Package: ibm-data-engine
Feastplugin for IBM Cloud.This plugin implements Feast's offline store backed usingIBM Cloud Data EngineandIBM Cloud Object StorageInstallationProject dependencies can be installed in a dedicated virtual environment
by running the following command:poetryinstallTesting and Lintingpoetryrunpytesttests/
poetryrunpylintibm_data_engineTest with FeastYou use it withFeastby defining your offline store and data sources.
The instructions below illustrate how it can be used infeast-ibm-quickstart.Define dependencyThis library is currently not published inPyPI; you will have to
point to the repository directly. The easiest way to do it is to clone
the repository, and define the dependency as a path infeast-ibm-quickstart.ibm-data-engine={path="/path/to/ibm-data-engine"}After runningpoetry update, you should be able to use the IBM Cloud
Data Engine offline store.Define data sourceYou can modify thesrc/feature_repo/example_repo.pyfile to use the new data
source. Below is the minimal example of the file:fromibm_data_engineimportDataEngineDataSourcedriver_stats_source=DataEngineDataSource(name="driver_hourly_stats_source",table="driver_stats_demo",timestamp_field="event_timestamp",)Define offline storeThen,feature_repo/feature_store.yamlmust configure the offline store.project:test_pluginentity_key_serialization_version:2registry:data/registry.dbprovider:localonline_store:type:redisconnection_string:${REDIS_HOST}:${REDIS_PORT},username=${REDIS_USERNAME},password=${REDIS_PASSWORD},ssl=true,ssl_ca_certs=${REDIS_CERT_PATH},db=0offline_store:type:ibm_data_engine.DataEngineOfflineStoreapi_key:${DATA_ENGINE_API_KEY}instance_crn:${DATA_ENGINE_INSTANCE_CRN}target_cos_url:${IBM_CLOUD_OBJECT_STORE_URL}Notice that you must define the environment variables:IBM_CLOUD_OBJECT_STORE_URLREDIS_HOSTREDIS_PORTREDIS_PASSWORDREDIS_CERT_PATHDATA_ENGINE_API_KEYDATA_ENGINE_INSTANCE_CRNApplyTo apply the definitions to the registry, run:poetry run feast -c ./feature_repo applyTrainingRun training by retrieving historical feature information from feature storepoetry run python training.pyMaterializeTo materialize to Redis, run:poetry run feast -c ./ materialize '<START_TIMESTAMP>'  '<END_TIMESTAMP>'Inferencepoetry run python inference.py
Package: ibm-data-virtualization-on-cloud
The IBM Data Virtualization on Cloud Python SDK Version 0.1.0Python client library to interact with variousIBM Data Virtualization on Cloud APIs.Disclaimer: this SDK is being released initially as apre-releaseversion.
Changes might occur which impact applications that use this SDK.Table of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Data Virtualization on Cloud Python SDK allows developers to programmatically interact with the following
IBM Cloud services:Service NamePackage nameData Virtualization on Cloudibm_data_virtualization_on_cloudPrerequisitesAnIBM Cloudaccount.An IAM API key to allow the SDK to access your account. Create onehere.Python 3.6 or above.InstallationTo install, usepip:pipinstall--upgradeibm-data-virtualization-on-cloudUsing the SDKFor general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a questionStack Overflow.IssuesIf you encounter an issue with the project, you are welcome to submit abug report.
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.
Package: ibmdb2
Wrapper Class around ibm_db (IBM-DB2)In IBM-DB2 after every read, the data needs to be fetched and after evey write, the data needs to be committed. But this class eliminates these requirements and make it simple to read and write to the database.Files:ibmdb2/__init__.pyUsage Examples:import ibmdb2db = ibmdb2.db(conn_str)  ##-connect to the database using the connection string for example conn_str = “DATABASE=BLUDB; HOSTNAME=dashdb-txn-sbox-yp-dal09-04.services.dal.bluemix.net; PORT=50000; PROTOCOL=TCPIP; UID=username; PWD=password;”Note: In the SQL statements all columns should be enclosed with “ double quotes and text be enclosed with ‘ single quotes.db.read(‘select “column1”,”column2” from mytable where “column1” like 'myword' ‘)  ##-returns column1 & 2 from table where column = myworddb.read(‘select “column” from table”, flat=False)  ##-returns the raw read datadb.read(f’select “item” from table where “item” = '{Variable}'’)  ##-read with string substitutiondb.read1(‘sql statement’)  ##-returns the first read data similar to fetchonedb.write(‘sql statement’)  ##-writes the data and commits to the databaseFor other connection commands use the connection classdb.conn….
Package: ibm_db_alembic
IBM_DB_ALEMBIC==============The IBM_DB_ALEMBIC adaptor provides the Python/Alembic interface to IBM Data Servers.Prerequisites-------------1. Python 2.6.x or above2. Alembic 0.6.5 or above3. SQLAlchemy 0.7.3 or above4. IBM_DB_SA 0.3.2 or above4. IBM_DB driver and IBM_DB_DBI wrapper 1.0.1 or higherInstall and Configuration==========================The IBM_DB_ALEMBIC Python Egg component (.egg) can be installed using the standard setuptools provided by the Python Easy Install through Python EntrepriseApplication Kit community portal:http://peak.telecommunity.com/DevCenter/EasyInstallPlease follow the steps provided to Install "Easy Install" in the link above and follow up with these additional steps to install IBM_DB_SA:1. To install IBM_DB_ALEMBIC component available in the remote repositories(pypi.python.org):Windows:> easy_install ibm_db_alembicLinux/Unix:$ sudo easy_install ibm_db_alembic2. To install IBM_DB_ALEMBIC from sourceStandard Python setup should be used::python setup.py installConnecting----------To allow ibm_db_alembic loaded up when alembic runs, edit env.py file and import IbmDbImpl "from ibm_db_alembic import IbmDbImpl"Contributing to ibm_db_alembic python project---------------------------------------------See `CONTRIBUTING<https://github.com/ibmdb/python-ibmdbalembic/tree/master/ibm_db_alembic/contributing/CONTRIBUTING.md>`_.```The developer sign-off should include the reference to the DCO in remarks(example below):DCO 1.1 Signed-off-by: Random J Developer <random@developer.org>```
Package: ibm-db-sa-py3
IBM_DB_SA=========The IBM_DB_SA adapter provides the Python/SQLAlchemy interface to IBM Data Servers.Version--------0.3.0 (2013/03/01)This version is all new for version 0.8 of SQLAlchemy and will also work with version 0.7.Prerequisites--------------1. Python 2.5.x or Jython 2.5.x .2. SQLAlchemy o.7.3 or above.3. IBM_DB driver and IBM_DB_DBI wrapper 1.0.1 or higherInstall and Configuration=========================The IBM_DB_SA Python Egg component (.egg) can be installed using the standard setuptools provided by the Python Easy Install through Python EntrepriseApplication Kit community portal:http://peak.telecommunity.com/DevCenter/EasyInstallPlease follow the steps provided to Install "Easy Install" in the link above and follow up with these additional steps to install IBM_DB_SA:1. To install IBM_DB_SA egg component available in the remote repositories(pypi.python.org or code.google.com):Windows:> easy_install ibm_db_saLinux/Unix:$ sudo easy_install ibm_db_sa2. To install IBM_DB_SA egg component from the downloaded .egg fileWindows:> easy_install ibm_db_sa-x.x.x-pyx.x.eggLinux/Unix:$ sudo easy_install ibm_db_sa-x.x.x-pyx.x.egg3. To install IBM_DB_SA from sourceStandard Python setup should be used::python setup.py installConnecting----------A TCP/IP connection can be specified as the following::from sqlalchemy import create_enginee = create_engine("db2+ibm_db://user:pass@host[:port]/database")For a local socket connection, exclude the "host" and "port" portions::from sqlalchemy import create_enginee = create_engine("db2+ibm_db://user:pass@/database")Supported Databases-------------------- IBM DB2 Universal Database for Linux/Unix/Windows versions 9.7 onwards- Remote connections to i5/OS (iSeries)- Remote connections to z/OS (DB2 UDB for zOS), only by default ibm_db driversKnown Limitations in ibm_db_sa adapter for DB2 databases-------------------------------------------------------------1) Non-standard SQL queries are not supported. e.g. "SELECT ? FROM TAB1"2) For updations involving primary/foreign key references, the entries should be made in correct order. Integrity check is always on and thus the primary keys referenced by the foreign keys in the referencing tables should always exist in the parent table.3) Unique key which contains nullable column not supported4) UPDATE CASCADE for foreign keys not supported5) DEFERRABLE INITIALLY deferred not supported6) Subquery in ON clause of LEFT OUTER JOIN not supportedNot Supported / Not Tested---------------------------- Python 3 has not yet been tested.- pyodbc support has not been tested.- zxjdbc/Jython support is not fully implemented.Credits-------ibm_db_sa for SQLAlchemy was first produced by IBM Inc., targeting version 0.4.The library was ported for version 0.6 and 0.7 by Jaimy Azle.Port for version 0.8 and modernization of test suite by Mike Bayer.
Package: ibm-dfo-sdk
IBM Data Fabric Orchestrator python SDKPython client library to interact with various IBM Data Fabric Orchestrator Services APIs.Disclaimer: this SDK is being released initially as apre-releaseversion.
Changes might occur which impact applications that use this SDK.Table of ContentsIBM Data Fabric Orchestrator python SDKTable of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Data Fabric Orchestrator Services Python SDK allows developers to programmatically interact with the following
IBM Cloud services:Service NameModule NameImported Class NameData Fabric Orchestrator Serviceibm_dfo_sdkibm_data_fabric_orchestrator_v1PrerequisitesAccess to an IBM Data Fabric Orchestrator service.Python 3.8 or above.InstallationTo install, usepip:pipinstall--upgradeibm-dfo-sdkThen in your code, you can import the appropriate service like this:from ibm-dfo-sdk.ibm_data_fabric_orchestrator_v1 import *Using the SDKExamples and a demo are available in theexamplesfolder.  Thebasic_use_of_get_service.pyexample is probably the easiest to get started with.  Other examples cover more specific cases and detailed APIs.Note that while this SDK is intended for use with the IBM Data Fabric Orchestrator on IBM Cloud CPDaaS or on-prem CPD instances with the IBM Data Fabric Orchestrator add-on installed, it can also be used when IBM Data Fabric Orchestrator add-on not installed. So the sdk user should always use the high-levelget_service()function create a DFO service, which will automatically adapt to these senarios. After get the service instance fromget_service()function, can use or configure the service instance as your needs.For general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a questionStack Overflow.IssuesIf you encounter an issue with the project, you are welcome to submit abug report.
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.
Package: ibm-dpx-services
Data Product Exchange Python SDK Version 0.0.4Python client library to interact with various Data Product Exchange Service APIs.Disclaimer: this SDK is being released initially as apre-releaseversion.
Changes might occur which impact applications that use this SDK.Table of ContentsOverviewPrerequisitesInstallationUsing the SDKQuestionsIssuesOpen source @ IBMContributingLicenseOverviewThe IBM Cloud ibm_dpx_services Python SDK allows developers to programmatically interact with the following service:Service NameModule NameImported Class NameData Product Exchangedata_product_exchange_api_service_v1DataProductExchangeApiServiceV1PrerequisitesAnIBM Cloudaccount.An IAM API key to allow the SDK to access your account. Create onehere.Python 3.8 or above.InstallationTo install, usepip:pipinstall--upgradeibm-dpx-servicesThen in your code, you can import the appropriate service like this:from ibm_dpx_services.<service-module-name> import *where<service-module-name>is the service's module name from the table aboveUsing the SDKFor general SDK usage information, please seethis linkQuestionsIf you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a question atStack Overflow.IssuesIf you encounter an issue with the project, you are welcome to submit a
[bug report](/issues).
Before that, please search for similar issues. It's possible that someone has already reported the problem.Open source @ IBMFind more open source projects on theIBM Github PageContributingSeeCONTRIBUTING.md.LicenseThis SDK is released under the Apache 2.0 license.
The license's full text can be found inLICENSE.