Skip to main content

Read the latest Real Python tutorials

Project description

Real Python Feed Reader

The Real Python Feed Reader is a basic web feed reader that can download the latest Real Python tutorials from the Real Python feed.

For more information see the tutorial How to Publish an Open-Source Python Package to PyPI on Real Python.

Bump version and Publish package workflow

Check the pypi package at

https://pypi.tw.martin98.com/project/realpython-reader-tchia/

How to bump the version

Patch

To change to automatically increment the patch version portion of the version string,

Edit this line and change it to patch

https://github.com/tchia04/realpython-reader/blob/master/.github/workflows/bump-and-publish.yml#L32

Minor

To change to automatically increment the patch version portion of the version string,

Edit this line and change it to minor

https://github.com/tchia04/realpython-reader/blob/master/.github/workflows/bump-and-publish.yml#L32

To resume auto increment the patch version, make sure to change it back to patch after the minor version and package is successful so the next version incremented in patch and not minor again.

Major

To change to automatically increment the patch version portion of the version string,

Edit this line and change it to major

https://github.com/tchia04/realpython-reader/blob/master/.github/workflows/bump-and-publish.yml#L32

To resume auto increment the patch version, make sure to change it back to patch after the minor version and package is successful so the next version incremented in patch and not minor again.

Installation

You can install the Real Python Feed Reader from PyPI:

pip install realpython-reader

The reader is supported on Python 2.7, as well as Python 3.4 and above.

How to use

The Real Python Feed Reader is a command line application, named realpython. To see a list of the latest Real Python tutorials simply call the program:

$ realpython
The latest tutorials from Real Python (https://realpython.com/)
 0 How to Publish an Open-Source Python Package to PyPI
 1 Python "while" Loops (Indefinite Iteration)
 2 Writing Comments in Python (Guide)
 3 Setting Up Python for Machine Learning on Windows
 4 Python Community Interview With Michael Kennedy
 5 Practical Text Classification With Python and Keras
 6 Getting Started With Testing in Python
 7 Python, Boto3, and AWS S3: Demystified
 8 Python's range() Function (Guide)
 9 Python Community Interview With Mike Grouchy
10 How to Round Numbers in Python
11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
12 Splitting, Concatenating, and Joining Strings in Python
13 Image Segmentation Using Color Spaces in OpenCV + Python
14 Python Community Interview With Mahdi Yusuf
15 Absolute vs Relative Imports in Python
16 Top 10 Must-Watch PyCon Talks
17 Logging in Python
18 The Best Python Books
19 Conditional Statements in Python

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

$ realpython 0
# How to Publish an Open-Source Python Package to PyPI

Python is famous for coming with batteries included. Sophisticated
capabilities are available in the standard library. You can find modules for
working with sockets, parsing CSV, JSON, and XML files, and working with
files and file paths.

However great the packages included with Python are, there are many
fantastic projects available outside the standard library. These are most
often hosted at the Python Packaging Index (PyPI), historically known as the
Cheese Shop. At PyPI, you can find everything from Hello World to advanced
deep learning libraries.

[... 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()
['How to Publish an Open-Source Python Package to PyPI', ...]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

realpython-reader-tchia-1.3.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

realpython_reader_tchia-1.3.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file realpython-reader-tchia-1.3.1.tar.gz.

File metadata

  • Download URL: realpython-reader-tchia-1.3.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for realpython-reader-tchia-1.3.1.tar.gz
Algorithm Hash digest
SHA256 fe93e8772da6b5e51bb5b176274a178da94dbedb13f9d0d303221091a2e0e0f2
MD5 3e91cc3cf44ef7fb2124156c67753c54
BLAKE2b-256 904b87024ab23b19399d932850eabb2eca7a00998d06c2b377f2d9b70416c0fe

See more details on using hashes here.

File details

Details for the file realpython_reader_tchia-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for realpython_reader_tchia-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c0da67425470820684c2ef94ba44da5aad7cbd0f7e3c1cae5cc4a672be13ca0
MD5 74b5d2f0373b3284eebd2e1dfa2a5ecf
BLAKE2b-256 f034d8db58669d522067dcefc4a5a814566eacb650ff22fe1ebb3b17429a77c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page