npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sai-manager

v0.1.6

Published

SAI Manager

Downloads

10

Readme

jupyter labextension과 server extension은 별개의 플러그인으로 존재합니다. 사실제로 필요로 하는 파일과 폴더도 틀리지만 사용자들을 편의성을 위해 보통 한 패키지로 묶어서 배포합니다. 따라서 설치하는 방법도 틀리며 리스트 되는 방식도 틀립니다.

다음은 각각 현재 설치된 서버 익스텐션과 랩 익스텐션을 리스트 해줍니다.

jupyter serverextension list
jupyter labextension list

서버익스텐션은 다음과 같이 개발자 환경으로 설치할 수 있습니다. setup.py가 위치한 디렉토리에서 패키지를 개발자 환경에 설치하고

pip install -e .

서버 익스텐션을 인에이블합니다.

jupyter serverextension enable --py sai_module --sys-prefix

다음으로 jupyter lab --watch를 다시 실행해야지 서버 익스텐션이 로드됩니다. 실행 메시지 "my module enabled!"로 서버익스텐션이 실행되었는지 알 수 있습니다.

개발자 모드여서 소스만 고친후 주피터 랩을 다시 실행하면 고쳐진 소스를 바로 불러옵니다.


jupyter labextension인 sai manager는 왼쪽 사이드바에 메뉴를 가집니다. 개발자 환경에서

jlpm install
jupyter labextension install . --no-build

로 설치할 수 있습니다.

설치후 사이드바 메뉴에 SAI Icon이 보입니다. 이를 클릭하면 쥬피터 랩이 실행된 위치의 파일 리스트를 보여줍니다. 간단하게 원클릭으로 파이를 열 수 있습니다. 툴바에 위치한 SAI Icon은 서버 익스텐션을 호출합니다. 서버 익스텐션상에서는 현재 폴더에서 .sai파일을 찾아서 json으로 돌려줍니다. 이를 받아와서 현재 디버깅 콘솔에 출력하는 것 까지 프로그램 되어 있습니다.