Skip to main content

A todo app to understand the building packages.

Project description

PyPI - Python Version PyPI - Status PyPI PyPI - License

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

MIT License

Copyright (c) 2020 Dara Ekanth

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

beunique-0.1.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

beunique-0.1.2-py3-none-any.whl (5.2 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