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.1.tar.gz (11.5 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.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetbrains_plugin_server-0.2.1.tar.gz
  • Upload date:
  • Size: 11.5 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.1.tar.gz
Algorithm Hash digest
SHA256 ca824fcac3cc783ec731c0a2864ec7c9f1e766c8d295905b4d1884db875bddf7
MD5 773637024cac2a2109d1826f4eba9882
BLAKE2b-256 222e66a8e9c167d034dbf62d6f5db7965e9a02ebf0ab62b5f9abe0045e076126

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetbrains_plugin_server-0.2.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jetbrains_plugin_server-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 196b3662d885a4a27d6216e1c3a5c48d39e61a0f530cd68d064f5dfd8590f11a
MD5 c0c790d0b43247c1b6a0d0ddda633c78
BLAKE2b-256 578b7ea8cfc31acefa7bcf50aad0fb06c0a350fbbfb1887951137fe792fcb005

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetbrains_plugin_server-0.2.1-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