Skip to main content

Python backend for Jamil Raichouni's personal Visual Studio Code Extension jamilraichouni.jarpyvscode

Project description

jarpyvscode

pipeline badge pytest badge coverage badge black badge flake8 badge mypy badge isort badge vulture badge docs badge

Documentation

Find the docs at https://jar1.gitlab.io/jarpyvscode

Steps to create project

Create blank Visual Studio Code extension

cd ~/repos
yo code

# ? What type of extension do you want to create? (Use arrow keys)
# ❯ New Extension (TypeScript)

# ? What's the name of your extension? ()
# ❯ jarpyvscode

# ? What's the identifier of your extension? (jarpyvscode)
# ❯ jarpyvscode

# ? What's the description of your extension? ()
# ❯ Jamil Raichouni's personal Visual Studio Code Extension

# ? Initialize a git repository? (Y/n) n

# ? Bundle the source code with webpack? (y/N) y

# ? Which package manager to use? (Use arrow keys)
# ❯ npm
#   yarn

cd jarpyvscode
git init
touch .gitignore

Put the following into the .gitignore:

.vscode-test/
dist/
node_modules/
out/

*.vsix

Version control

Before we continue, we store the fresh extension in an VCS.

git remote add origin git@gitlab.com:jar1/jarpyvscode.git
git add .
git commit -m "Initial commit"

Initialise Python poetry project

poetry init

# Package name [jarpyvscode]:
# ❯ jarpyvscode

# Would you like to define your main dependencies interactively? (yes/no) [yes]
# ❯ no

# Would you like to define your development dependencies interactively? (yes/no) [yes]
# ❯ no

Add dependencies:

poetry add click json5 pandas psutil loguru
poetry add --dev black doc8 flake8 flake8-builtins flake8-docstrings flake8-isort flake8-quotes flake8-rst-docstrings isort jupyter notebook pydocstyle pytest pytest-cov pytest-xdist Sphinx sphinx-autobuild sphinx-rtd-theme

WE RECOMMEND INCLUDING THE FOLLOWING SECTIONS:

Features

Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.

For example if there is an image subfolder under your extension project workspace:

![feature X](images/feature-x.png)

Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.

Requirements

If you have any requirements or dependencies, add a section describing those and how to install and configure them.

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • myExtension.enable: enable/disable this extension
  • myExtension.thing: set to blah to do something

Known Issues

Calling out known issues can help limit users opening duplicate issues against your extension.

Release Notes

see CHANGELOG.md


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.


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

jarpyvscode-0.4.8.tar.gz (62.3 kB view details)

Uploaded Source

Built Distribution

jarpyvscode-0.4.8-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

Details for the file jarpyvscode-0.4.8.tar.gz.

File metadata

  • Download URL: jarpyvscode-0.4.8.tar.gz
  • Upload date:
  • Size: 62.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.0 Darwin/21.2.0

File hashes

Hashes for jarpyvscode-0.4.8.tar.gz
Algorithm Hash digest
SHA256 2135159afd69faa7efc1be945e4765db88ab4817325b017cd148dbe1796964f9
MD5 0ab0fbad37ae466bd8134cda4da45cce
BLAKE2b-256 5f18d3a627f8a6af190ae78d8c50da6a6cb23206d0486875f33de7fe0db406bb

See more details on using hashes here.

File details

Details for the file jarpyvscode-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: jarpyvscode-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 75.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.0 Darwin/21.2.0

File hashes

Hashes for jarpyvscode-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd6f07f823b084e28b1d4f8de4b50d71d99e510a9c5f235f01ceb603e23e8aa
MD5 02b3fb9b9d25fba4f912f001f48e5cbc
BLAKE2b-256 637a5898e90b13a393e0c3ca7343150a568e9b96ef698918b07aecbd4a0f3c59

See more details on using hashes here.

Supported by

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