Skip to main content

A server to serve jetbrains plugins

Project description

Creates a jetbrains-compatible plugin server with a given list of plugins

How-to use

Download the data

Use the script dl_data.py to fetch plugins metadata and data from jetbrains server, and save them where you want

Create the server

from fastapi import FastAPI

from jetbrains_plugin_server import create_plugin_server
from jetbrains_plugin_server.model.data_listing import FSDataListing

app: FastAPI = create_plugin_server(
    FSDataListing("/data/myfolder"),
    "https://myendpoint/plugins/{plugin_version_id}"
)

Then deploy it like you want

Use the server

Register the server in your IDE

Tools

To fetch plugins specifications, versions and content from jetbrains to a local filesystem

cat myfile.txt

jb_plugin_download myfile.txt

To build a JSON cache to answer faster, using either a filesystem storage, an artifactory or an apache server

from jetbrains_plugin_server.model.catalog import CatalogSchema

catalog = CatalogSchema(data_listing=dl)
catalog.build()

Paths

  • / to get the readme OR the compliant xml content if url param build is provided
  • /cache to get the full JSON cache of the server
  • /packages to get a nicer view of the available packages
  • /docs the openapi spec of the app, provided by FastAPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetbrains_plugin_server-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetbrains_plugin_server-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file jetbrains_plugin_server-0.2.0.tar.gz.

File metadata

  • Download URL: jetbrains_plugin_server-0.2.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jetbrains_plugin_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2697492f5f417f31c81816661c9dd23bbd8b0c3cfe47b64400f6bf9d35dd3f1e
MD5 acd37f4c5c0763fbb590950bf3fa6308
BLAKE2b-256 47b8841997cf223b8229843c982d43203b4227b9124102c503627fe11463f020

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetbrains_plugin_server-0.2.0.tar.gz:

Publisher: release.yml on azro352/jetbrains-plugin-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jetbrains_plugin_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jetbrains_plugin_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1af1dede8a74186f302e449dd4645dba2b1e413ede299385b676eb290e0a8600
MD5 5da007ac763966088cf1f57d9cb9fc76
BLAKE2b-256 52e0a3cc16ed92161b8019c5b884b1ecdc14b2554e8370c25485f0ae441d8f16

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetbrains_plugin_server-0.2.0-py3-none-any.whl:

Publisher: release.yml on azro352/jetbrains-plugin-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page