Skip to main content

Python and Data Science Snippets on the command line

Project description

Python Snippet Tool

A tool to get Python and data science snippets at Data Science Simplified on the command line. You can read my article to learn how I created this tool.

Installation

python3 -m pip install --user python-snippet

Note: The --user is important. It ensures you install it in your directory and not in the global system. python3 -m ensures that you install python_snippet using Python 3.

Make sure your Python version is >= 3.6.2.

python3 --version

Usage

Search for posts based on category

gif

You can search for posts based on category by typing:

python-snippet search-category

Once you select a post, you will receive an output like below: image

Search for posts based on a string pattern

gif

You can also search for posts using a string pattern such as pandas

python-snippet search-posts pandas

image

To view all commands python-snippet provides, type:

python-snippet --help

image

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

python-snippet-0.1.7.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

python_snippet-0.1.7-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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