8000 GitHub - matan-h/code-snippets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

matan-h/code-snippets

Repository files navigation

code-snippets

Did you find yourself search for the same answer in stackotherflow? Then this is for you!

code-snippets is python program for search instant coding answers and save it fot later use.

Binary Install

windows users can install the program by running the last setup (made using inno setup)

or by download last snippets.exe from last Release

linux users can download last binary by download last snippets from last Release

Install using pip

you can install type in terminal:

(sudo) pip install https://github.com/matan-h/code-snippets/archive/master.zip

after that,you can open the gui with python -m code_snippets. (you can recplace "python" by the python you have (py,python3,py3,etc)) or (if python pip scipts is in your PATH) just run snippets

Gui Usage

after open the software (by run the the the binary file or by run the python module) you will see:

Screenshot

Access from python

you can import the code_snippets module:

# import the Graphic class
from code_snippets.snippets import Graphic  # import Graphic class

# init Graphic - it will init icon,create Graphic object and create hook for open the issue reporter when error occurred
graphic = Graphic()
graphic.main()  # start the mainloop of the gui

you can also use only the github issue reporter

# import Graphic class,for init the icon
from code_snippets.snippets import Graphic

Graphic.init_icon()  # only init the icon,without init the gui
from code_snippets.reporter import open_github_issue

open_github_issue()  # open the "Open A GitHub Issue" window

Built With

icon

the icon is the Code icon by Icons8

Author

matan h

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0