GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • About
  • Learn Python
  • Archives
  • Contact
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha
  • Get the value of PI without a constant

This view

  • Original page
  • New address

GeezerVison is showing pythonadventures.wordpress.com — github – Python Adventures

Python Adventures

Welcome to the Jungle!
  • Home
  • About
  • Learn Python
  • Archives
  • Contact

Archive

Posts Tagged ‘github’

Getting started with PyQt5

November 9, 2019 Jabba Laci Leave a comment

I 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.

Categories: python Tags: github, gui, PyQt5

Bash-Utils updated

January 9, 2017 Jabba Laci Leave a comment

I 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.

Categories: python Tags: github, rep, review

vulture is available in neomake

May 29, 2016 Jabba Laci 1 comment

Recently 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 :make using Neovim’s job-control functionality (it also works in ordinary vim, but without the asynchronous benefits).

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:

Without vulture:
vulture_without

With vulture:
vulture_with

init.vim settings
Here is my corresponding settings that enables vulture too:

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
" }}}

Links
Pull requests #420 and #440.

Categories: python Tags: github, neomake, neovim, vim, vulture

find out a github user’s (hidden) email address

January 11, 2016 Jabba Laci Leave a comment

Problem
You want to contact someone on GitHub but (s)he doesn’t indicate his/her email on the profile page. What to do?

Solution
Figure it out :) The manual steps are indicated here. I made a Python script of it that can be found here: https://github.com/jabbalaci/Bash-Utils/blob/master/github_user_email.py .

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.

Categories: python Tags: email, github

trending Python repositories on GitHub

August 9, 2015 Jabba Laci Leave a comment

https://github.com/trending?l=python

“Find what repositories the GitHub community is most excited about today.“

Categories: python Tags: github, trends

Top 400 Python Projects on Github

August 11, 2013 Jabba Laci Leave a comment

http://stg.pythonhackers.com/os/?utm_source=Python+Hackers&utm_campaign=b6380a858f-Alpha_PythonHackers

[ found here ]

Categories: python Tags: github, top 400, top projects

Get yourself analyzed on GitHub

May 22, 2013 Jabba Laci Leave a comment

If 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.

Categories: fun, python Tags: github, report

Install a package with pip from a github repository

December 27, 2012 Jabba Laci Leave a comment

Problem
You want to install a package from a GitHub repository via pip.

Solution
Let’s take an example. Say you want to install requests whose github address is https://github.com/kennethreitz/requests.

With pip you can istall it like this:

sudo pip install -U https://github.com/kennethreitz/requests/zipball/master
Categories: python Tags: github, pip
RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Blog Stats

  • 1,659,944 hits

Random Post

Click here for a random post

Recent Posts

  • Get the value of PI without a constant
  • In a graph, find the largest complete subgraph
  • How to solve a two-variable equation with Sympy
  • Autoformat your Python code with Ruff
  • Play a sound file from memory

ascii 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

  • December 2025 (1)
  • December 2024 (2)
  • March 2024 (1)
  • February 2024 (3)
  • June 2023 (1)
  • December 2022 (1)
  • May 2022 (1)
  • March 2022 (1)
  • February 2022 (2)
  • October 2020 (3)
  • September 2020 (2)
  • July 2020 (1)
  • December 2019 (1)
  • November 2019 (7)
  • June 2019 (2)
  • May 2019 (1)
  • February 2019 (1)
  • January 2019 (1)
  • August 2018 (1)
  • July 2018 (4)
  • June 2018 (5)
  • May 2018 (1)
  • March 2018 (2)
  • February 2018 (1)
  • January 2018 (2)
  • December 2017 (2)
  • October 2017 (1)
  • August 2017 (1)
  • May 2017 (2)
  • April 2017 (1)
  • March 2017 (1)
  • February 2017 (3)
  • January 2017 (5)
  • December 2016 (3)
  • October 2016 (2)
  • September 2016 (1)
  • August 2016 (4)
  • July 2016 (3)
  • June 2016 (2)
  • May 2016 (2)
  • April 2016 (1)
  • March 2016 (4)
  • February 2016 (1)
  • January 2016 (4)
  • December 2015 (5)
  • November 2015 (8)
  • October 2015 (2)
  • September 2015 (3)
  • August 2015 (6)
  • July 2015 (4)
  • June 2015 (1)
  • May 2015 (3)
  • April 2015 (2)
  • February 2015 (1)
  • January 2015 (6)
  • December 2014 (5)
  • November 2014 (2)
  • October 2014 (1)
  • September 2014 (1)
  • August 2014 (14)
  • July 2014 (3)
  • June 2014 (6)
  • May 2014 (3)
  • April 2014 (2)
  • March 2014 (4)
  • February 2014 (3)
  • January 2014 (19)
  • December 2013 (8)
  • November 2013 (9)
  • October 2013 (4)
  • September 2013 (10)
  • August 2013 (16)
  • July 2013 (4)
  • June 2013 (7)
  • May 2013 (7)
  • April 2013 (3)
  • March 2013 (12)
  • February 2013 (2)
  • January 2013 (10)
  • December 2012 (18)
  • November 2012 (3)
  • October 2012 (4)
  • September 2012 (5)
  • August 2012 (1)
  • July 2012 (1)
  • May 2012 (8)
  • April 2012 (9)
  • March 2012 (17)
  • February 2012 (3)
  • January 2012 (8)
  • November 2011 (11)
  • October 2011 (7)
  • September 2011 (17)
  • August 2011 (5)
  • June 2011 (1)
  • May 2011 (7)
  • April 2011 (21)
  • March 2011 (21)
  • February 2011 (7)
  • December 2010 (4)
  • November 2010 (1)
  • October 2010 (16)
  • September 2010 (15)

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
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
  • Subscribe Subscribed
  • Python Adventures
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
Loading Comments...

You must be logged in to post a comment.

Create your own website, free on WordPress.com.Create your own website.
Start free
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.