Skip to content

prestonwong7/Cerebot

Repository files navigation

README

Cerebot is an automated script created in Python that uses Asana API and Google Drive API to automate repetitive processes used by the human-I-T company. Asana is widely used by human-I-T to inventory and edit items, so we found a much more efficient method. Cerebot has 3 features: inventory, wipe, destroy. All of these features basically move Asana tasks from one project to another and fills out its custom fields.

image1

Inventory

Inventory items quickly! Fill out the custom fields on the top, then scan each item's barcode to inventory. The selected items will then be placed into an Asana project called Inventory, each with its own custom field.

image2

Cert Check

Wiping hard drives! The cert check goes through the Asana tasks in the Inventory project, and attaches a pdf file that was created from our server that wipes hard drives. The server holds up to 15 hard drives, and sends a pdf file to a google drive folder, where Cerebot checks. The Cerebot locates the bar code in the Google Drive folder, and then attaches to the Asana task with its respective bar code.

image3

Destruction

Sending hard drives into destruction! Cerebot goes through the Asana tasks that was filled out by the user and puts them into the "Destruction" project in Asana. These hard drives will be thrown to the E-waste pile, to be completely destroyed and scrapped.

image4

Installation

  1. Download python and add it to your PATH
  2. Download Git (for pip)
  3. Go to your repository in Git
  4. Type in 'pip install httplib2'
  5. Type in 'pip install --upgrade google-api-python-client'
  6. Type in 'pip install asana'
  7. Run asana-automate.py

Contribution guidelines

  • Writing code - Mainly Patrick, main developer. Preston - Optimized and debugged code.
  • Writing tests - Preston - Wrote over 100 test cases for duplication errors
  • Authentication - Patrick - Added OAuth 2.0 to authenticate users. Also added personal tokens from Asana (hidden for the sake of privacy)
  • Code review - Preston - Reviewed Patrick's code

Who do I talk to?

About

Cerebot is a Python script used by human-I-T to make repetitive tasks automated quickly using Asana API and Google API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published