Skip to main content

Dividers in Python, the easy way! Multiple different divider looks.

Project description

area4

Dividers in Python, the easy way! Four different types. (As seen on PyPI!)
Version: 1.0.4
Known Vulnerabilities Travis Build CodeFactor

Example

If you don't understand what we mean by dividers, fear not. We mean dividers that divide text in the Python console, or anything you use the library for. An example can be found here.

Divider looks

The number before it is the number used in calling it, so for example if you want divider 1, it would be area4.divider1 or area4.div1().
1- Dashed
2- Solid
3- Dotted
4- Black Squares
5- Up arrow emojis
6- Down arrow emojis
And more coming soon!

Installing

You may install in one of the following ways:

  • Through pip
  • Through requirements.txt

To install via pip

To install via pip, open a terminal, and type the following command:

pip install area4  

It should install.

To install via requirements.txt

To use area4 as a dependency for your project, you can add the following line:

area4  

You must have prior knowledge with using a requirements.txt file to take this path.

Using

After you install the package (instructions above), you need to import it into any Python file that you will use it in. You can do this by adding the following line to the top:

import area4  

After doing so, you can use any of these methods to get a divider in your console:

Just using plain print commands:

print(area4.divider1)  
print(area4.divider2)  
print(area4.divider3)  
print(area4.divider4)  
print(area4.divider5)  
print(area4.divider6)  

Using functions:

area4.div1()  
area4.div2()  
area4.div3()  
area4.div4()  
area4.div5()  
area4.div6()

And if you want to you can check to make sure the library is working:

area4.area4info()  

Custom Dividers

In version 1.0.3, custom dividers were added. They can't be saved, but will stay applied until the Python script ends.
They can be called/used/updated this way:

# Setting:  
area4.custom_div = str("dividertexthere")   

# Using:  
area4.customdiv()  
# or...  
print(area4.custom_div)  

Project details


Release history Release notifications | RSS feed

This version

1.0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

area4-1.0.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

area4-1.0.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file area4-1.0.4.tar.gz.

File metadata

  • Download URL: area4-1.0.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for area4-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f12c2d05f92c014023fb4e3e91993ced73ecea824b1bdf9c64d917ae892e88c9
MD5 5245931ab2433e3916031d561e9df81c
BLAKE2b-256 7759ca03e9eec39ccfd05faae0a59834cbd2a27e212b7cf01b8f7b739f4aa455

See more details on using hashes here.

File details

Details for the file area4-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: area4-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for area4-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 370268633810cc79f905d01e4b188e6a6a0fac24334f2d34f71d613fd8549d8b
MD5 1c4e4ff42f6ef70d0965c032048135ff
BLAKE2b-256 aa0270bcee2200cabe0993f47b4ac84879a24e79ceb7a89d3f4ec1fd39e48f9f

See more details on using hashes here.

Supported by

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