Skip to main content

An unofficial SDK for Meendag.com help you to find name of the owner of the number

Project description

Meendag-sdk

An unofficial SDK for Meendag help you to find name of the owner of the number

PyPI - Python Version PyPI License
Upload Python Package
Code style: black
Table of Contents
  1. Requirements
  2. Installation
  3. Usage
  4. Discussions
  5. Issues
  6. Security
  7. License

Requirements

Installation

PyPi

$ pip3 install meendag

GitHub

$ git clone https://github.com/TheAwiteb/meendag/
$ cd meendag
$ python3 setup.py install

Usage

Get countrys

from meendag import get_countrys

countrys = get_countrys()

for country in countrys:
	print(
		f"Country name: {country.name} {country.code}"
	)
# Country name: المملكة العربية السعودية SA
# Country name: الأردن JO
# Country name: الامارات العربية المتحدة AE
# Country name: البحرين BH
# ...

Get owner

from meendag import get_country_by_code, get_owner
print(get_owner("0138823616", get_country_by_code("SA")))
# Owner(name='Intertek', number='0138823616', country=Country(code='SA', name='المملكة العربية السعودية'))

Countrys filter

from meendag import countrys_filter
print(countrys_filter(lambda country: country.code == "SA"))
# [Country(code='SA', name='المملكة العربية السعودية')]

Get country by code

from meendag import get_country_by_code
print(get_country_by_code("SA"))
# Country(code='SA', name='المملكة العربية السعودية')

Get country by name

from meendag import get_country_by_name
print(get_country_by_name("المملكة العربية السعودية"))
# Country(code='SA', name='المملكة العربية السعودية')

Discussions

Question, feature request, discuss about meendag here

Issues

You can report a bug here

Security

If you discover any security related issues.

License

GNU Affero General Public License (AGPL). Please see License File for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meendag-0.0.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

meendag-0.0.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file meendag-0.0.0.tar.gz.

File metadata

  • Download URL: meendag-0.0.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for meendag-0.0.0.tar.gz
Algorithm Hash digest
SHA256 72a807dc7ee3f74362910be4bd3a767842af43b373cba65e722bab58b5d5784f
MD5 1a7da73746c0dc70199eeab8cd9a674c
BLAKE2b-256 3793a415a65578beba3a1446fd6365dffab09111ff6f5705e9bef076f7c6d142

See more details on using hashes here.

File details

Details for the file meendag-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: meendag-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for meendag-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f847c5a70864fefdb7d4fd138b56e9757f9f4abea300532f80a4c474f9af952b
MD5 adc56e9073b3cf089a0dc0f113e99325
BLAKE2b-256 2a9157a3fd79e6a461ee335dc808c5bd933d45f366ea9b030176c7e0fa87c116

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page