Name | rwandaphoneformat JSON |
Version |
0.1.11
JSON |
| download |
home_page | |
Summary | |
upload_time | 2023-10-10 09:36:33 |
maintainer | |
docs_url | None |
author | Jean Eric TUYISHIMIRE |
requires_python | >=3.8,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# rwandaphoneformat
rwandaphoneformat is a Python library for dealing with formtatting rwandan phone numbers.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) or [poetry](https://python-poetry.org/) to install rwandaphoneformat.
```bash
pip install rwandaphoneformat
```
or
```bash
poetry add rwandaphoneformat
```
## Usage
```python
from rwandaphoneformat import in_250_format
# returns '250780000000'
in_250_format('0780000000')
# returns '250780000000'
in_250_format('+250780000000')
# returns '250780000000'
in_250_format('780000000')
# returns '250780000000'
in_250_format('250780000000')
# returns '1', here it returns the input,
# if the input is not formatted as a Rwandan phone
in_250_format('1')
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "",
"name": "rwandaphoneformat",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Jean Eric TUYISHIMIRE",
"author_email": "ericjohn415@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/0d/09/466cfea444c2bc91a0243d527a665a4be67f53d9750b62a2c778c983bffd/rwandaphoneformat-0.1.11.tar.gz",
"platform": null,
"description": "# rwandaphoneformat\n\nrwandaphoneformat is a Python library for dealing with formtatting rwandan phone numbers.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) or [poetry](https://python-poetry.org/) to install rwandaphoneformat.\n\n```bash\npip install rwandaphoneformat\n```\nor \n```bash\npoetry add rwandaphoneformat\n```\n\n## Usage\n\n```python\nfrom rwandaphoneformat import in_250_format\n\n# returns '250780000000'\nin_250_format('0780000000')\n\n# returns '250780000000'\nin_250_format('+250780000000')\n\n# returns '250780000000'\nin_250_format('780000000')\n\n# returns '250780000000'\nin_250_format('250780000000')\n\n# returns '1', here it returns the input, \n# if the input is not formatted as a Rwandan phone\nin_250_format('1')\n```\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "0.1.11",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d05a46e673b9fdebbe229d570d2bb82886d4370d3c5a7ad507836820690dabb7",
"md5": "8af64d1bd5171a11dc29e242c9407aad",
"sha256": "254f8eaf7bbb148274dcc0ee2e547780e7deaea645d66acfccac684fc3f6c9dc"
},
"downloads": -1,
"filename": "rwandaphoneformat-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8af64d1bd5171a11dc29e242c9407aad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 2097,
"upload_time": "2023-10-10T09:36:32",
"upload_time_iso_8601": "2023-10-10T09:36:32.371098Z",
"url": "https://files.pythonhosted.org/packages/d0/5a/46e673b9fdebbe229d570d2bb82886d4370d3c5a7ad507836820690dabb7/rwandaphoneformat-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0d09466cfea444c2bc91a0243d527a665a4be67f53d9750b62a2c778c983bffd",
"md5": "3b320d229720d1cb02e8a0fa338c7f29",
"sha256": "fb9caee5472db4d7f095509dc1ddade67a137280e6a39f24b63a62a02abf3e41"
},
"downloads": -1,
"filename": "rwandaphoneformat-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "3b320d229720d1cb02e8a0fa338c7f29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 1434,
"upload_time": "2023-10-10T09:36:33",
"upload_time_iso_8601": "2023-10-10T09:36:33.399695Z",
"url": "https://files.pythonhosted.org/packages/0d/09/466cfea444c2bc91a0243d527a665a4be67f53d9750b62a2c778c983bffd/rwandaphoneformat-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-10 09:36:33",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "rwandaphoneformat"
}