Skip to main content

OpenHuman: Virtual human assistant

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.

Installation

You can install the Real Python Feed Reader from PyPI:

python -m pip install realpython-reader

The reader is supported on Python 3.7 and above. Older versions of Python, including Python 2.7, are supported by version 1.0.0 of the reader.

Virtual human

  1. Create a setup.py file for your package, which includes information about your package such as its name, version, author, and dependencies.

  2. Create a source distribution and a wheel distribution of your package by running the following commands in your terminal:

python3 setup.py sdist
python3 setup.py bdist_wheel
  1. Create an account on PyPI if you haven't already done so. You can create an account by going to https://pypi.org/account/register/ and filling out the form.

  2. Install the twine package, which is used to upload your package to PyPI:

pip install twine
  1. Upload your package to PyPI using twine:
twine upload dist/*
  1. Your package is now published on PyPI! Users can install it using pip install mypackage.

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, call the program without any arguments:

$ 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

openhuman-1.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

openhuman-1.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file openhuman-1.1.2.tar.gz.

File metadata

  • Download URL: openhuman-1.1.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for openhuman-1.1.2.tar.gz
Algorithm Hash digest
SHA256 5beeb348f179bbb67b434e46f01dca130c33700c82fd889137aea925603a44ec
MD5 3663b55e01be364926be1f8efc631ad5
BLAKE2b-256 b6247457fb1e11fae7a6afb2291eaebb7df46a34b6eaef988bba2a3f06b6a377

See more details on using hashes here.

File details

Details for the file openhuman-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: openhuman-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for openhuman-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4455bc8a84bc4fa4199d5cef83cfa5604f4b833c5325deb6940adb43086359a
MD5 de8bea7ce58e0f4785fecee019a4e562
BLAKE2b-256 8861405a3a8b59436567a5202c2aa387774528e1ec87ec72b5bcd5646c58b9d3

See more details on using hashes here.

Supported by

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