
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@typespec/http-client-python
Advanced tools
TypeSpec emitter for Python SDKs
npm install @typespec/http-client-python
tsp compile . --emit=@typespec/http-client-python
emit:
- "@typespec/http-client-python"
The config can be extended with options as follows:
emit:
- "@typespec/http-client-python"
options:
"@typespec/http-client-python":
option: value
emitter-output-dirType: absolutePath
Defines the emitter output directory. Defaults to {output-dir}/@typespec/http-client-python
See Configuring output directory for more info
api-versionType: string
Use this flag if you would like to generate the sdk only for a specific version. Default value is the latest version. Also accepts values latest and all.
licenseType: object
License information for the generated client code.
package-versionType: string
The version of the package.
package-nameType: string
The name of the package.
generate-packaging-filesType: boolean
Whether to generate packaging files. Packaging files refer to the setup.py, README, and other files that are needed to package your code.
packaging-files-dirType: string
If you are using a custom packaging files directory, you can specify it here. We won't generate with the default packaging files we have.
packaging-files-configType: object
If you are using a custom packaging files directory, and have additional configuration parameters you want to pass in during generation, you can specify it here. Only applicable if packaging-files-dir is set.
package-pprint-nameType: string
The name of the package to be used in pretty-printing. Will be the name of the package in README and pprinting of setup.py.
head-as-booleanType: boolean
Whether to return responses from HEAD requests as boolean. Defaults to true.
use-pyodideType: boolean
Whether to generate using pyodide instead of python. If there is no python installed on your device, we will default to using pyodide to generate the code.
validate-versioningType: boolean
Whether to validate the versioning of the package. Defaults to true. If set to false, we will not validate the versioning of the package.
FAQs
TypeSpec emitter for Python SDKs
The npm package @typespec/http-client-python receives a total of 4,740 weekly downloads. As such, @typespec/http-client-python popularity was classified as popular.
We found that @typespec/http-client-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.