templates
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
# {{{projectName}}} {{#appDescriptionWithNewLines}} {{{.}}} {{/appDescriptionWithNewLines}} {{^useCustomTemplateCode}} This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: {{appVersion}} - Package version: {{packageVersion}} {{^hideGenerationTimestamp}} - Build date: {{generatedDate}} {{/hideGenerationTimestamp}} - Generator version: {{generatorVersion}} - Build package: {{generatorClass}} {{#infoUrl}} For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) {{/infoUrl}} ## Requirements. Python {{{generatorLanguageVersion}}} ## Installation & Usage ### pip install If the python package is hosted on a repository, you can install directly using: ```sh pip install git+https://{{gitHost}}/{{{gitUserId}}}/{{{gitRepoId}}}.git ``` (you may need to run `pip` with root permission: `sudo pip install git+https://{{gitHost}}/{{{gitUserId}}}/{{{gitRepoId}}}.git`) Then import the package: ```python import {{{packageName}}} ``` ### Setuptools Install via [Setuptools](http://pypi.python.org/pypi/setuptools). ```sh python setup.py install --user ``` (or `sudo python setup.py install` to install the package for all users) {{/useCustomTemplateCode}} {{#useCustomTemplateCode}} ## Migrating from legacy SDK This SDK is generated from our officially maintained [OpenAPI spec](https://github.com/hellosign/hellosign-openapi/blob/main/openapi.yaml). We've made important updates that introduce new functionality and create feature parity between the Dropbox Sign API and the SDK. However, some of these changes are considered "breaking" in the sense that they'll require you to update your existing code in order to continue using the SDK. Please refer to this [migration guide](https://developers.hellosign.com/docs/sdks/python/migration-guide/) for more information. ## Contributing This repo is no longer accepting new issues or Pull Requests. All issues or Pull Requests *must* be opened against the [hellosign/hellosign-openapi](https://github.com/hellosign/hellosign-openapi) repo! ### Changes to the SDK code You must make SDK code changes in the mustache file within the `templates` directory that corresponds to the file you want updated. We use [OpenAPI Generator](https://openapi-generator.tech/) to automatically generate this SDK from the OAS, using the template files. ### Building You must have `docker` (or `podman` linked to `docker`) installed. Highly recommended to use [rootless docker](https://docs.docker.com/engine/security/rootless/). Run the following and everything is done for you: ```shell ./run-build ``` *Attention*: Any changes you have made to the SDK code that you have not made to the OAS file and/or the mustache template files _will be lost_ when you run this command. ## Installation & Usage ### Requirements. Python {{{generatorLanguageVersion}}} ### pip Install using `pip`: ```shell python3 -m pip install dropbox-sign=={{packageVersion}} ``` Alternatively: ```shell pip install git+https://github.com/hellosign/dropbox-sign-python.git ``` {{/useCustomTemplateCode}} Then import the package: ```python import {{{packageName}}} ``` {{^useCustomTemplateCode}} ### Tests Execute `pytest` to run the tests. {{/useCustomTemplateCode}} ## Getting Started Please follow the [installation procedure](#installation--usage) and then run the following: {{> common_README }}