Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
Перейти к файлу
iscai-msft c61689c9bf prepare for release 2024-05-31 13:10:19 -04:00
.chronus prepare for release 2024-05-31 13:10:19 -04:00
.github fix release branch, hopefully (#2598) 2024-05-23 16:04:15 -04:00
.vscode Adopt whole common types in TCGC (#2476) 2024-04-08 11:25:19 -04:00
docs Update customizations.md (#2267) 2023-12-04 23:19:24 +00:00
eng pip dev(deps-dev): bump pytest from 8.2.0 to 8.2.1 in /eng (#2592) 2024-05-28 13:53:53 -04:00
packages prepare for release 2024-05-31 13:10:19 -04:00
.editorconfig Create a pipeline for generic autorest verification (#2097) 2023-11-16 23:43:31 +00:00
.gitattributes Release 2.0.15 (#13) 2017-10-10 08:58:22 -07:00
.gitignore Create a pipeline for generic autorest verification (#2097) 2023-11-16 23:43:31 +00:00
.prettierignore Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
.prettierrc.yaml Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
CODE_OF_CONDUCT.md Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
LICENSE Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
README.md Clean work (#2549) 2024-04-28 14:50:23 +08:00
SECURITY.md Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
package.json fix release branch, hopefully (#2598) 2024-05-23 16:04:15 -04:00
pnpm-lock.yaml fix release branch, hopefully (#2598) 2024-05-23 16:04:15 -04:00
pnpm-workspace.yaml Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
pyproject.toml run black on whole repo (#2572) 2024-05-06 19:58:15 +00:00
tsconfig.base.json Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
tsconfig.json Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
tsconfig.ws.json rename emitter ot `typespec-python` (#1800) 2023-03-20 14:16:33 -07:00

README.md

Python Generator Packages

Requirements

  • Node 16+
  • Python 3.7+

Develop

This project uses pnpm workspaces to manage multiple packages.

pnpm install
  1. Build
pnpm build
  1. Build TS in watch mode
pnpm watch
  1. Clean
pnpm clean

Release a new version

Semi-auto:

Branch publish/auto-release should be automatically updated with the latest changelog. Give it 5min after merging a PR or check the status of the Release action

Then go to https://github.com/Azure/autorest.python/pull/new/publish/auto-release and create this PR.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.