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
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:
Search for posts based on a string pattern
You can also search for posts using a string pattern such as pandas
python-snippet search-posts pandas
To view all commands python-snippet provides, type:
python-snippet --help
Metadata
Release files for python-snippet 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-snippet-0.1.7.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_snippet-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / python-snippet-0.1.7.tar.gz
| Download URL | python-snippet-0.1.7.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa407ea5977704b171c3a4dddf98b00ff9d8568a8c4025ee0d8300f56873b9b4
|
|
BLAKE2b-256 checksum How to use checksums |
ab2c89747df9a0cfd1a5706528dd99079645c11fb739a87560d164f3113e5524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.1 Linux/5.4.0-77-generic
|
Release files / python_snippet-0.1.7-py3-none-any.whl
| Download URL | python_snippet-0.1.7-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d3238206e2e0981348eb69e2bbf66779d29d7883593770d70fc0f90d95707d1
|
|
BLAKE2b-256 checksum How to use checksums |
d5c24b2f45dd7234f62a1a7b171bf976f2c67da36852a8979d5dfb7d38100a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.1 Linux/5.4.0-77-generic
|