{"id":15588190,"url":"https://github.com/orlangure/gnomock-python-sdk","last_synced_at":"2025-04-24T04:52:15.794Z","repository":{"id":53251467,"uuid":"260565018","full_name":"orlangure/gnomock-python-sdk","owner":"orlangure","description":"Python SDK for Gnomock integration testing toolkit","archived":false,"fork":false,"pushed_at":"2021-12-17T15:39:28.000Z","size":311,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T04:51:59.983Z","etag":null,"topics":["docker","end-to-end-testing","gnomock","integration-testing","testing"],"latest_commit_sha":null,"homepage":"https://github.com/orlangure/gnomock","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orlangure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-01T21:49:33.000Z","updated_at":"2022-08-04T17:35:42.000Z","dependencies_parsed_at":"2022-08-19T20:20:46.762Z","dependency_job_id":null,"html_url":"https://github.com/orlangure/gnomock-python-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlangure%2Fgnomock-python-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlangure%2Fgnomock-python-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlangure%2Fgnomock-python-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlangure%2Fgnomock-python-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orlangure","download_url":"https://codeload.github.com/orlangure/gnomock-python-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250566446,"owners_count":21451230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","end-to-end-testing","gnomock","integration-testing","testing"],"created_at":"2024-10-02T22:21:48.547Z","updated_at":"2025-04-24T04:52:15.773Z","avatar_url":"https://github.com/orlangure.png","language":"Python","readme":"# gnomock-python-sdk\n`gnomock` is an HTTP wrapper for [Gnomock](https://github.com/orlangure/gnomock) integration and end-to-end testing toolkit. It allows to use Gnomock outside of Go ecosystem. Not all Gnomock features exist in this wrapper, but official presets, as well as basic general configuration, are supported.\n\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 1.19.0\n- Package version: 1.19.0\n- Build package: org.openapitools.codegen.languages.PythonClientCodegen\nFor more information, please visit [https://github.com/orlangure/gnomock/](https://github.com/orlangure/gnomock/)\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation \u0026 Usage\n### pip install\n\nIf the python package is hosted on a repository, you can install directly using:\n\n```sh\npip install git+https://github.com/orlangure/gnomock-python-sdk.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/orlangure/gnomock-python-sdk.git`)\n\nThen import the package:\n```python\nimport gnomock\n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport gnomock\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\nfrom __future__ import print_function\n\nimport time\nimport gnomock\nfrom gnomock.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to http://127.0.0.1:23042\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = gnomock.Configuration(\n    host = \"http://127.0.0.1:23042\"\n)\n\n\n\n# Enter a context with an instance of the API client\nwith gnomock.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = gnomock.PresetsApi(api_client)\n    cassandra_request = gnomock.CassandraRequest() # CassandraRequest | \n\n    try:\n        # Start a new Gnomock Cassandra preset.\n        api_response = api_instance.start_cassandra(cassandra_request)\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling PresetsApi-\u003estart_cassandra: %s\\n\" % e)\n    \n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://127.0.0.1:23042*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*PresetsApi* | [**start_cassandra**](docs/PresetsApi.md#start_cassandra) | **POST** /start/cassandra | Start a new Gnomock Cassandra preset.\n*PresetsApi* | [**start_cockroach_db**](docs/PresetsApi.md#start_cockroach_db) | **POST** /start/cockroachdb | Start a new Gnomock CockroachDB preset.\n*PresetsApi* | [**start_elastic**](docs/PresetsApi.md#start_elastic) | **POST** /start/elastic | Start a new Gnomock Elasticsearch container\n*PresetsApi* | [**start_influx_db**](docs/PresetsApi.md#start_influx_db) | **POST** /start/influxdb | Start a new Gnomock InfluxDB preset.\n*PresetsApi* | [**start_kafka**](docs/PresetsApi.md#start_kafka) | **POST** /start/kafka | Start a new Gnomock Kafka container\n*PresetsApi* | [**start_kubernetes**](docs/PresetsApi.md#start_kubernetes) | **POST** /start/kubernetes | Start a new Gnomock lightweight kubernetes (k3s) preset. Use \u0026#x60;host:\u0026lt;kubeconfig-port\u0026gt;/kubeconfig\u0026#x60; to retrieve the kubeconfig file that should be used to connect to this container. \n*PresetsApi* | [**start_localstack**](docs/PresetsApi.md#start_localstack) | **POST** /start/localstack | Start a new Gnomock Localstack container\n*PresetsApi* | [**start_mariadb**](docs/PresetsApi.md#start_mariadb) | **POST** /start/mariadb | Start a new Gnomock MariaDB container\n*PresetsApi* | [**start_memcached**](docs/PresetsApi.md#start_memcached) | **POST** /start/memcached | Start a new Gnomock Memcached container\n*PresetsApi* | [**start_mongo**](docs/PresetsApi.md#start_mongo) | **POST** /start/mongo | Start a new Gnomock MongoDB container\n*PresetsApi* | [**start_mssql**](docs/PresetsApi.md#start_mssql) | **POST** /start/mssql | Start a new Gnomock Microsoft SQL Server container\n*PresetsApi* | [**start_mysql**](docs/PresetsApi.md#start_mysql) | **POST** /start/mysql | Start a new Gnomock MySQL container\n*PresetsApi* | [**start_postgres**](docs/PresetsApi.md#start_postgres) | **POST** /start/postgres | Start a new Gnomock Postgres container\n*PresetsApi* | [**start_rabbit_mq**](docs/PresetsApi.md#start_rabbit_mq) | **POST** /start/rabbitmq | Start a new Gnomock RabbitMQ container\n*PresetsApi* | [**start_redis**](docs/PresetsApi.md#start_redis) | **POST** /start/redis | Start a new Gnomock Redis container\n*PresetsApi* | [**start_splunk**](docs/PresetsApi.md#start_splunk) | **POST** /start/splunk | Start a new Gnomock Splunk container\n*PresetsApi* | [**stop**](docs/PresetsApi.md#stop) | **POST** /stop | Stop an existing Gnomock container\n\n\n## Documentation For Models\n\n - [Cassandra](docs/Cassandra.md)\n - [CassandraRequest](docs/CassandraRequest.md)\n - [Cockroachdb](docs/Cockroachdb.md)\n - [CockroachdbRequest](docs/CockroachdbRequest.md)\n - [Container](docs/Container.md)\n - [Elastic](docs/Elastic.md)\n - [ElasticRequest](docs/ElasticRequest.md)\n - [Influxdb](docs/Influxdb.md)\n - [InfluxdbRequest](docs/InfluxdbRequest.md)\n - [InvalidStartRequest](docs/InvalidStartRequest.md)\n - [InvalidStopRequest](docs/InvalidStopRequest.md)\n - [Kafka](docs/Kafka.md)\n - [KafkaMessages](docs/KafkaMessages.md)\n - [KafkaRequest](docs/KafkaRequest.md)\n - [Kubernetes](docs/Kubernetes.md)\n - [KubernetesRequest](docs/KubernetesRequest.md)\n - [Localstack](docs/Localstack.md)\n - [LocalstackRequest](docs/LocalstackRequest.md)\n - [Mariadb](docs/Mariadb.md)\n - [MariadbRequest](docs/MariadbRequest.md)\n - [Memcached](docs/Memcached.md)\n - [MemcachedRequest](docs/MemcachedRequest.md)\n - [Mongo](docs/Mongo.md)\n - [MongoRequest](docs/MongoRequest.md)\n - [Mssql](docs/Mssql.md)\n - [MssqlRequest](docs/MssqlRequest.md)\n - [Mysql](docs/Mysql.md)\n - [MysqlRequest](docs/MysqlRequest.md)\n - [Options](docs/Options.md)\n - [Postgres](docs/Postgres.md)\n - [PostgresRequest](docs/PostgresRequest.md)\n - [Rabbitmq](docs/Rabbitmq.md)\n - [RabbitmqMessage](docs/RabbitmqMessage.md)\n - [RabbitmqRequest](docs/RabbitmqRequest.md)\n - [Redis](docs/Redis.md)\n - [RedisRequest](docs/RedisRequest.md)\n - [Splunk](docs/Splunk.md)\n - [SplunkRequest](docs/SplunkRequest.md)\n - [SplunkValues](docs/SplunkValues.md)\n - [StartFailed](docs/StartFailed.md)\n - [StopFailed](docs/StopFailed.md)\n - [StopRequest](docs/StopRequest.md)\n\n\n## Documentation For Authorization\n\n All endpoints do not require authorization.\n\n## Author\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forlangure%2Fgnomock-python-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forlangure%2Fgnomock-python-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forlangure%2Fgnomock-python-sdk/lists"}