A todo app to understand the building packages.
Project description
beunique
This is a basic project for learning how to make the PIP(PyPI) package
To install the package!
On Windows:
$ pip install beunique
On macOS and Linux:
$ sudo pip3 install beunique
Changelog
Check the changelog here.
Available modules in beunique package is
|_beunique
|_data_collection
|_repeat
How to use:
Example 1:
from beunique import data_collection
# instanciate a variable for data_collection class.
collector = data_collection() #A url or path is expected, default url is 'https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv'
collector.print_head() #Default value of rows is 5.
output
Country Region
0 Algeria AFRICA
1 Angola AFRICA
2 Benin AFRICA
3 Botswana AFRICA
4 Burkina AFRICA
Example 2:
collector.print_head(3) # Here we are specifying for 3 rows.
output
Country Region
0 Algeria AFRICA
1 Angola AFRICA
2 Benin AFRICA
Example 3:
from beunique import repeat
# instanciate a variable for repeat class.
repetitor = repeat()
repetitor.print_repeat() #The default word is hello and count is 100.
output
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
hello hello hello hello hello
Example 4:
repetitor.print_repeat("congrats",10) # Here we are specifying word as congrats for 10 times.
output
congrats congrats congrats congrats congrats
congrats congrats congrats congrats congrats
License
Copyright (c) 2020 Dara Ekanth
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
beunique-0.1.3.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file beunique-0.1.3.tar.gz
.
File metadata
- Download URL: beunique-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df0f5d8a3ccd2b39ebaa84b99d1a24aa3ed963d2d4a0beeda8aaaf8e9b7b0a96 |
|
MD5 | 50e5bef4331bebbf607b8ff67f47999a |
|
BLAKE2b-256 | 1d373cd66d5542fb20a16f2770564d7e894049f2eb4a40577d7dee1068777beb |
File details
Details for the file beunique-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: beunique-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837b81bf09e0571a0b3ac081f6cf64d4661b3fc1a083654b72e384258e9b9030 |
|
MD5 | e0d4c115ff97e8a88b2099254e0723fb |
|
BLAKE2b-256 | 8473cf87d404db870879f9af878350ad2e2d992c65d940d6283a6c5b5db1c412 |