![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@octopusdeploy/api-client
Advanced tools
The TypeScript API Client for Octopus Deploy is easy to use after it's been initialized. Refer to Getting Started for step-by-step set of instructions on setup, initialization, and usage of its functionality.
The reference documentation for this library is auto-generated via Typedoc and made available through GitHub Pages: octopusdeploy.github.io/api-client.ts
import { Client, ClientConfiguration, Repository } from "@octopusdeploy/api-client";
import type { ProjectResource } from "@octopusdeploy/message-contracts";
// explicit configuration
//
// const configuration: ClientConfiguration = {
// agent: new Agent({ proxy: { hostname: '127.0.0.1', port: 8866 } }), // proxy agent if required
// apiKey: "api-key",
// apiUri: "api-uri",
// space: "space-id",
// };
//
// const client = await Client.create(configuration);
// environment variables
//
// OCTOPUS_API_KEY: the API key used to connect to an instance of Octopus Deploy
// OCTOPUS_HOST: the host instance of Octopus Deploy
// OCTOPUS_SPACE: the space to target API commands in Octopus Deploy
// assume conventional configuration via environment variables
const client = await Client.create();
if (client === undefined) {
throw new Error("client could not be constructed");
}
const repository = new Repository(client);
const projectNameOrId: string = "project-name-or-ID";
console.log(`Getting project, "${projectNameOrId}"...`);
let project: ProjectResource | undefined;
try {
project = await repository.projects.find(projectNameOrId);
} catch (error) {
console.error(error);
}
if (project !== null && project !== undefined) {
console.log(`Project found: "${project?.Name}" (${project?.Id})`);
} else {
console.error(`Project, "${projectNameOrId}" not found`);
}
FAQs
TypeScript API client for Octopus Deploy
We found that @octopusdeploy/api-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.