Skip to content

Python library comprising some utilities for working with various things to do with Malawi

License

Notifications You must be signed in to change notification settings

geekquest/mw-commons-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Malawi Commons

Library of various things to do with Malawi that one may run into when programming.

TODO: Provide a better description!!!

Installation

If using pip do:

pip install git+https://github.com/GeekQuest/mw-commons-py.git

If using poetry, add the following under [tool.poetry.dependencies] in pyproject.toml:

mw_commons = { git = "https://github.com/GeekQuest/mw-commons-py.git" }

Then run:

poetry install

USAGE

The following is a basic overview of what you can do with the library. For more details please browse the documentation here.

>>> from mw_commons import phone_numbers
>>> phone_numbers.is_valid_phone_number('0888800900')
True
>>> phone_number = phone_numbers.PhoneNumber('0888800900')
>>> phone_number.to_internationalized(humanize=True)
'+265-88-880-0900'

Development

  • Fork this repository

  • Install poetry

  • Setup dependencies:

    poetry install
  • Make changes

  • Run tests

    poetry run python -m unittest discover tests/
  • Commit and push then make a pull request

About

Python library comprising some utilities for working with various things to do with Malawi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages