vijaynandwani / niki.ai

Assignment for niki.ai internship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Niki.ai Assignment

Objective: Given a directory containing only text files, recursively traverse the entire directory and print all the telephone numbers(base 10-digit format Indian mobile numbers and its variations) - can use bash scripting, python, java, C - or any other language.

Solution: The current repository contains the solution in Python and shell script.

Usage

To run the program with given sample csv files: python phone.py

To run the shell script .\phone.sh

To run the tests: python -m unittest discover tests -v

To generate documents: sphinx-apidoc -F -o docs .

Assumption

I am assuming that all the data is in CSV files which contain just the phone column.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

TODO

  1. Add Code in more languages

License

MIT License

About

Assignment for niki.ai internship


Languages

Language:Python 95.3%Language:Shell 4.7%