Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pynvi

PyPI PyPI - Status PyPI - Python Version PyPI - License Style Black Telegram

Build Coverage
master Travis (.org) master Codecov master
development Travis (.org) development Codecov development

pynvi Türkiye Cumhuriyeti Nüfus ve Vatandaşlık İşleri Genel Müdürlüğü SOAP servisi için oluşturulmuş köprü bir Python kütüphanesidir.

Neler Yapılabilir?

Bu kütüphane ile Türkiye Cumhuriyeti Nüfus ve Vatandaşlık İşleri Genel Müdürlüğü'nün SOAP servisinin verdiği hizmetlerden yararlanılabilir. Neler yapılacağına dair bir fikir edinmek için ilgili bağlantıya gözatın.

Her ne kadar resmi kaynaklarda kullanımın sınırları ([throttling](https://en.wikipedia.org/wiki/Throttling_process_(computing) gibi)) belirtilmemişse de geliştirici servise fazla yüklenmemeyi göz önünde bulundurmalıdır.

Yükleme

pip ile yükleme yapabilirsiniz.

pip install pynvi

Kullanım

Vatandaş Sorgulama

pynvi.verify_identity metodu ile vatandaş sorgusu yapabilirsiniz.

Argüman Tür Varsayılan
identity_number int -
name str -
surname str -
year_of_birth int -

Örnekler

pynvi.verify_identity(11111111111, "ERAY", "ERDİN", 1994)
# True

Uyarı

NVİ, name ve surname değerlerini hepsi büyük harf olarak kabul etmektedir. Ad ve soyadın hepsinin büyük harf olmaması durumunda ise False döndürmektedir. Bu kütüphane, name ve surname değerlerinizi otomatik olarak büyük harfe döndürmeyecektir. Bunu sizin sağlamanız beklenmektedir.

# Eğer yukarıdaki örnek doğruysa
pynvi.verify_identity(11111111111, "Eray", "Erdin", 1994)
# False
pynvi.verify_identity(11111111111, "eray", "erdin", 1994)
# False

Uyarı

Sunuucu tarafından bir hata geldiğinde NVIException ile yakalayabilirsiniz.

try:
    pynvi.verify_identity(11111111111, "ERAY", "ERDİN", 1994)
except pynvi.NVIException as e:
    # bir hata var ise buradayız
    # birçok sebepten sunucu hata verebilir
    # sunucu meşgul ya da düşmüş olabilir
    print(e.message)  # hata mesajı
    print(e.response)  # hataya ait Response

Metadata

Release files for pynvi 0.1.0rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynvi 0.1.0rc5
File Size Uploaded Provenance Actions
pynvi-0.1.0rc5.tar.gz 4.1 kB Without provenance Details for pynvi-0.1.0rc5.tar.gz

Release files / pynvi-0.1.0rc5.tar.gz

Download URL pynvi-0.1.0rc5.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b7a3dc63ee95caeb8b4b61aba9fc190c841585a03594de37d79b2ad50ebc1c30
BLAKE2b-256 checksum
How to use checksums
c997faaf81b9dd9ab87478a44371139381a47b350167632c4438cc4f7541b531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for pynvi 0.1.0rc5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page