diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..2f7c250 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,9 @@ +[bumpversion] +current_version = 0.1.0 +commit = False +tag = False + +[bumpversion:file:reader/__init__.py] + +[bumpversion:file:setup.py] + diff --git a/README.md b/README.md index 8a2d714..90e8c88 100644 --- a/README.md +++ b/README.md @@ -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', ...] + diff --git a/reader/__init__.py b/reader/__init__.py index 80877cc..1e498c8 100644 --- a/reader/__init__.py +++ b/reader/__init__.py @@ -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" diff --git a/setup.py b/setup.py index 723e10e..8e17548 100644 --- a/setup.py +++ b/setup.py @@ -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",