Skip to main content

Omark

Omark is the new form of taking attendance in class, its captures a classroom and determines which student is in class and which student isn't

Overview

The Omark Program was written with fast use in mind. It provides the following key features

  • Returns a list of total students in class
  • Returns a list of students absent from class
  • Returns a list of students present in class

Usage

In the following paragraphs, I am going to describe how you can get and use Omark.

Getting it

To download Omark , either fork this github repo or simply use Pypi via pip, install Omarke.

$ pip install Omarke

Using it

First, import Omark from Omark

from Omark import Omark 

Initialize Omark

First, let's create a new Omark object. For this , just provide the students in a text file and a folder of all the students image with the names saved as the same name stored in the text file.

 
om = Omark(students='file.txt',data='folder')

View all details

 
om = Omark(students='file.txt',data='folder')
print(om.register())

View all students

 
om = Omark(students='file.txt',data='folder')
print(om.students)

View all absent students

 
om = Omark(students='file.txt',data='folder')
print(om.absent)

View all present students

 
om = Omark(students='file.txt',data='folder')
print(om.present)

License

MIT License

Copyright (c) 2021 Teddy Oweh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Hire me: teddyoweh

Release files for Omarke 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Omarke 1.0
File Size Uploaded
Omarke-1.0.tar.gz 3.8 kB Details

Release files / Omarke-1.0.tar.gz

Download URL Omarke-1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
52b9eefc8a5fb9567b50f1f572cde6411d35bfa533028896cb74ffe883e8fea5
BLAKE2b-256 checksum
How to use checksums
db1f4b0ee183b98e3fcc9b66dfb73c22e616e6c5f6f41318a29e6a77e0660b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page