GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing pythonadventures.wordpress.com — github – Python Adventures Python AdventuresWelcome to the Jungle!
Archive
Posts Tagged ‘github’
Getting started with PyQt5I made a GitHub repository where I collected some simple PyQt5 examples: https://github.com/jabbalaci/GUI-Dev-with-Python . I provide some examples written manually and you can also find an example that was made with Qt Designer. Bash-Utils updatedI have several projects on GitHub (link) but some of them are either abandoned or outdated. So I want to review and update all of them. I started this process with Bash-Utils. The Python 2 codebase was moved entirely to Python 3. The old Python 2 source is tagged and available under the “release” link, but I won’t touch that anymore. Only the current version (Python 3) will be updated. The README file is converted to Markdown, and new scripts are also documented. Today I added a script called “rep.py” that allows you to execute a bash command several times. Example: $ rep 3 echo hello hello hello hello It will execute “echo hello” three times. vulture is available in neomakeRecently I started to use neovim (here is my story). I mainly edit Python codes so I looked around and collected some useful plugins (here is my init.vim file). One of these plugins is neomake, an asynchronous I had a little contribution to neomake and that’s what I want to write about in this post. I sent a pull request to include vulture as a Python maker. Vulture finds unused classes, functions and variables in your code. Let’s see two screenshots without and with vulture: init.vim settings Plug 'neomake/neomake'
" {{{
" neomake is async => it doesn't block the editor
" It's a syntastic alternative. Syntastic was slow for me on python files.
" $ sudo pip2/pip3 install flake8 -U
" $ sudo pip2/pip3 install vulture -U
let g:neomake_python_enabled_makers = ['flake8', 'pep8', 'vulture']
" let g:neomake_python_enabled_makers = ['flake8', 'pep8']
" E501 is line length of 80 characters
let g:neomake_python_flake8_maker = { 'args': ['--ignore=E115,E266,E501'], }
let g:neomake_python_pep8_maker = { 'args': ['--max-line-length=100', '--ignore=E115,E266'], }
" run neomake on the current file on every write:
autocmd! BufWritePost * Neomake
" }}}
find out a github user’s (hidden) email addressProblem Solution Usage example: $ ./github_user_email.py Github info (username or repo. link): https://github.com/jabbalaci/Bash-Utils [email protected] If you want to hide your email address, then here are some tips. trending Python repositories on GitHubhttps://github.com/trending?l=python “Find what repositories the GitHub community is most excited about today.“ Top 400 Python Projects on Github[ found here ]
Categories: python
Tags: github, top 400, top projects
Get yourself analyzed on GitHubIf you have a GitHub account, you can get yourself analyzed with The Open Source Report Card. Here is my report for instance. Scroll down to the bottom and try it with your username. It will also list users whose activity is similar to yours. Install a package with pip from a github repositoryProblem Solution With pip you can istall it like this: sudo pip install -U https://github.com/kennethreitz/requests/zipball/master Blog Stats
Random PostRecent Postsascii
bash
beautifulsoup
book
bpython
challenge
command-line
convert
cron
crontab
date
datetime
distance
dropbox
email
eric
exercise
extract
file
firefox
github
google
hacking
heroku
html
ide
imdb
imgur
install
ipython
java
jinja2
json
linux
module
modules
MongoDB
movies
news
pdf
perl
pi
pip
print
pylint
pypi
python3
python shell
quote
readline
reddit
redirect
refactoring
regexp
requests
reverse
review
shell
sound
stdout
string
tab
text
threads
time
tip
tutorial
unicode
url
video
virtualenv
virtual environment
virtualenvwrapper
xml
zip Archives
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |