wiki:jazz/19-10-29

Version 9 (modified by jazz, 5 years ago) (diff)

--

2010-10-29

Python

  • 需求:怎麼產生 pip package 的相依關係圖呢?
  • 解法:https://pypi.org/project/pipdeptree/
  • 安裝:
    #sh
    ~$ sudo pip install pipdeptree
    
  • 產生相依圖:
    #bash
    ~$ sudo pip install graphviz
    ~$ pipdeptree --graph-output dot
    

homebrew

~$ brew tap
caskroom/fonts
caskroom/versions
homebrew/cask
homebrew/core
jlhonora/lsusb
~$ brew list
bash-completion	icu4c		mosh		openssl@1.1	sqlite
coreutils	jq		mplayer		p7zip		tig
dos2unix	libcaca		mtr		pcre2		tmux
fontconfig	libevent	ncurses		pidof		tree
freetype	libidn2		nmap		protobuf	unrar
gettext		libpng		node		readline	wget
git		libunistring	oniguruma	sbt		youtube-dl
htop		lsusb		openssl		scala
~$ brew cask list
cleanmymac          flash-npapi         skype               visual-studio-code
docker              font-dejavu-sans    slack               zoomus
evernote            messenger           spectacle           zulu8
firefox             pomotodo            tableau-public
GraphViz image

Mac OS