Skip to content
/ Dojo Public

Python3 Office space allocation CLI application.

License

Notifications You must be signed in to change notification settings

miritih/Dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Test Coverage Maintainability

Dojo

Office space allocation CLI application.

Istalation

To install this project, follow these steps:

  • Create your working environment. example: virtualenv env
  • Git clone this project git clone https://github.com/mwenda-eric/dojo.git
  • cd dojo
  • Install project dependencies pip install -r requirements.txt
  • Finally run python app.py

Tests

Run nosetests tests --with-coverage --cover-xml

Usage

```
create_room <type_room> <room_name>...
add_person <person_name> <FELLOW|STAFF> [wants_accommodation]
reallocate_person <person_name> <new_room_name>
print_allocations [-o=filename]
print_unallocated [-o=filename]
print_room <room_name>
load_people
q
```
1. create_room

Creates a new room with

2. add_person

Adds a person and randomly assigns them to aroom

3. reallocate_person

reallocates person to a diffrent room

4. print_allocations

prints all allocations. providing option -o writes outputs to a file

5. print_unallocated

prints all unallocations. providing option -o writes outputs to a file

6. print_room

prints all rooms and their members

7 load_people

loads poeple from a file

8. q

quits application

credits

  • eric mwenda

About

Python3 Office space allocation CLI application.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages