Skip to main content

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

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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file python-snippet-0.1.7.tar.gz.

File metadata

  • Download URL: python-snippet-0.1.7.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.1 Linux/5.4.0-77-generic

File hashes

Hashes for python-snippet-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fa407ea5977704b171c3a4dddf98b00ff9d8568a8c4025ee0d8300f56873b9b4
MD5 c127cba1025fb7dc54724b388a03ef32
BLAKE2b-256 ab2c89747df9a0cfd1a5706528dd99079645c11fb739a87560d164f3113e5524

See more details on using hashes here.

File details

Details for the file python_snippet-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: python_snippet-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.1 Linux/5.4.0-77-generic

File hashes

Hashes for python_snippet-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3238206e2e0981348eb69e2bbf66779d29d7883593770d70fc0f90d95707d1
MD5 c22a2cef407e34bf6417cad7a209682c
BLAKE2b-256 d5c24b2f45dd7234f62a1a7b171bf976f2c67da36852a8979d5dfb7d38100a8c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5.9

2 files

0.1.5.8

2 files

0.1.5.7

2 files

0.1.5.6

2 files

0.1.5.5

2 files

0.1.5.4

2 files

0.1.5.3

2 files

0.1.5.2

2 files

0.1.5.1

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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