Skip to main content

collage

Project description

collage

This library helps you to enter students or employees information of a collage through specific items that library or its classes asked you.

How it works? Use the following command to install this library

pip install collage

This library has a base class and two different child classes: 1.Student: that needs (name,family,idnumber,age,phone,idclass) to display a string output of the student information. 2.Employee: that needs (name,family,idnumber,age,phone,salary(in your own currency)) to display a string output of the staff information,in addition to normal information this class will display tax price,insurance price and finally income.

Use: 1:display student information

from collage import Student get_date=Student(name,family,idnumber,age,phone,idclass) print(get_date) #you have to enter all wanted or required dataes as string format("")when you make an object from the class

example: from collage import Student get_date=Student("ali","akbari","006","35","0912","A3") print(get_date)


output: A STUDENT :information of the person is : full name is :ali akbari id number is :006 age :35 phone:0912 the student class number is :A3

2:display employee information

from collage import Employee get_date=Student(name,family,idnumber,age,phone,salary) print(get_date) #you have to enter all wanted or required dataes as string format("")when you make an object from the class

example: from collage import Employee get_date=Employee("hasan","jamali","25874","45","0912",4500000) print(get_date)


output: AN EMPLOYEE :information of the person is : full name is :hasan jamali id number is :25874 age :45 phone:0912 unpure salary :4500000 tax is :200000 insurance is :315000 total income is :3985000.0

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

collage library-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

collage_library-1.0.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file collage library-1.0.0.tar.gz.

File metadata

  • Download URL: collage library-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for collage library-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9f95b78a573dd896afc6d5e41fbb6f0a8a503d44d9f935082b3ec145a6b3c751
MD5 b8521230460e6ea171cc3033dec46a6c
BLAKE2b-256 59f847761af050f85da548c161b6a889619bfbd6f9d96a02293324cf69698f48

See more details on using hashes here.

File details

Details for the file collage_library-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: collage_library-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for collage_library-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c749bfeaf62696f3df0a95b4686894cd21318ca92187c98f38534f36a92bee31
MD5 ad255293d379b857df0c77dc94b54c74
BLAKE2b-256 39fe471e6c70f9d03a0ce0261adf3c7dfd5c55e5cabd1118bf8a6970beae84cb

See more details on using hashes here.

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