Skip to content

Commit

Permalink
Merge pull request #7 from realpython/release-v0.1.0
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
gahjelle authored Oct 2, 2018
2 parents d949c98 + 9be0b44 commit 91371f4
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 36 deletions.
9 changes: 9 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[bumpversion]
current_version = 0.1.0
commit = False
tag = False

[bumpversion:file:reader/__init__.py]

[bumpversion:file:setup.py]

67 changes: 34 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,49 @@ The reader is supported on Python 2.7, as well as Python 3.4 and above.

The Real Python Feed Reader is a command line application, named `realpython`. To see a list of the [latest Real Python tutorials](https://realpython.com/) simply call the program:

$ realpython
$ realpython
The latest tutorials from Real Python (https://realpython.com/)
0 Logging in Python
1 The Best Python Books
2 Conditional Statements in Python
3 Structuring Python Programs
4 We're Celebrating 1 Million Page Views per Month!
5 Python Pandas: Tricks & Features You May Not Know
6 Python Community Interview With Mariatta Wijaya
7 Primer on Python Decorators
8 Sets in Python
9 The Ultimate Guide to Django Redirects
10 Advanced Git Tips for Python Developers
11 Python Community Interview With Mike Driscoll
12 Dictionaries in Python
13 Socket Programming in Python (Guide)
14 Python Code Quality: Tools & Best Practices
15 Documenting Python Code: A Complete Guide
16 Fast, Flexible, Easy and Intuitive: How to Speed Up Your Pandas Projects
17 Lists and Tuples in Python
18 Reading and Writing CSV Files in Python
19 Generating Random Data in Python (Guide)
0 Splitting, Concatenating, and Joining Strings in Python
1 Image Segmentation Using Color Spaces in OpenCV + Python
2 Python Community Interview With Mahdi Yusuf
3 Absolute vs Relative Imports in Python
4 Top 10 Must-Watch PyCon Talks
5 Logging in Python
6 The Best Python Books
7 Conditional Statements in Python
8 Structuring Python Programs
9 We're Celebrating 1 Million Page Views per Month!
10 Python Pandas: Tricks & Features You May Not Know
11 Python Community Interview With Mariatta Wijaya
12 Primer on Python Decorators
13 Sets in Python
14 The Ultimate Guide to Django Redirects
15 Advanced Git Tips for Python Developers
16 Python Community Interview With Mike Driscoll
17 Dictionaries in Python
18 Socket Programming in Python (Guide)
19 Python Code Quality: Tools & Best Practices

To read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:

$ realpython 0
# Logging in Python
# Splitting, Concatenating, and Joining Strings in Python

Logging is a very useful tool in a programmer's toolbox. It can help you
develop a better understanding of the flow of a program and discover scenarios
that you might not even have thought of while developing.
There are few guarantees in life: death, taxes, and programmers needing to
deal with strings. Strings can come in many forms. They could be unstructured
text, usernames, product descriptions, database column names, or really
anything else that we describe using language.

Logs provide developers with an extra set of eyes that are constantly looking
at the flow that an application is going through. They can store information,
like which user or IP accessed the application. If an error occurs, then they
can provide more insights than a stack trace by telling you what the state of
the program was before it arrived at the line of code where the error
occurred.
With the near-ubiquity of string data, it's important to master the tools of
the trade when it comes to strings. Luckily, Python makes string manipulation
very simple, especially when compared to other languages and even older
versions of Python.

[... The full text of the article ...]

You can also call the Real Python Feed Reader in your own Python code, by importing from the `reader` package:

>>> from reader import feed
>>> feed.get_titles()
['Logging in Python', 'The Best Python Books', ...]
['Splitting, Concatenating, and Joining Strings in Python', ...]

2 changes: 1 addition & 1 deletion reader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
See https://github.com/realpython/reader/ for more information
"""
# Version of realpython-reader package
__version__ = "0.0.1"
__version__ = "0.1.0"

# URL of Real Python feed
URL = "https://realpython.com/atom.xml"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# This call to setup() does all the work
setup(
name="realpython-reader",
version="0.0.1",
description="Read Real Python Tutorials",
version="0.1.0",
description="Read Real Python tutorials",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/realpython/reader",
Expand Down

0 comments on commit 91371f4

Please sign in to comment.