eArsivPortal


NameeArsivPortal JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/keyiflerolsun/eArsivPortal
SummaryGİB e-Arşiv Portal e-Fatura Oluşturucu
upload_time2024-11-21 06:31:33
maintainerNone
docs_urlNone
authorkeyiflerolsun
requires_python>=3.10
licenseGPLv3+
keywords earsivportal kekikakademi keyiflerolsun
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 🧾 eArsivPortal

[![Boyut](https://img.shields.io/github/repo-size/keyiflerolsun/eArsivPortal?logo=git&logoColor=white&label=Boyut)](#)
[![Görüntülenme](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/keyiflerolsun/eArsivPortal&title=Görüntülenme)](#)
<a href="https://KekikAkademi.org/Kahve" target="_blank"><img src="https://img.shields.io/badge/☕️-Kahve Ismarla-ffdd00" title="☕️ Kahve Ismarla" style="padding-left:5px;"></a>

[![PyPI Yükleyici](https://img.shields.io/github/actions/workflow/status/keyiflerolsun/eArsivPortal/PyPI.yml?label=PyPI%20Y%C3%BCkleyici&logo=github)](https://github.com/keyiflerolsun/eArsivPortal/actions/workflows/PyPI.yml)

[![PyPI](https://img.shields.io/pypi/v/eArsivPortal?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/eArsivPortal)
[![PyPI - Yüklenme](https://img.shields.io/pypi/dm/eArsivPortal?logo=pypi&logoColor=white&label=Yüklenme)](https://pypi.org/project/eArsivPortal)
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/eArsivPortal?logo=pypi&logoColor=white&label=Wheel)](https://pypi.org/project/eArsivPortal)

[![Python Version](https://img.shields.io/pypi/pyversions/eArsivPortal?logo=python&logoColor=white&label=Python)](#)
[![Lisans](https://img.shields.io/pypi/l/eArsivPortal?logo=gnu&logoColor=white&label=Lisans)](#)
[![Durum](https://img.shields.io/pypi/status/eArsivPortal?logo=windowsterminal&logoColor=white&label=Durum)](#)

*GİB e-Arşiv Portal e-Fatura Oluşturucu*

> Bu paket [Fatih Kadir Akın](https://github.com/f)'ın hazırlamış olduğu [fatura](https://github.com/f/fatura) `(js)` paketinin `Python` dili ile yazılmış versiyonudur.

[![ForTheBadge made-with-python](https://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)
[![ForTheBadge built-with-love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/keyiflerolsun/)

## 🚀 Kurulum

### <a href="#"><img width="16" src="https://raw.githubusercontent.com/keyiflerolsun/eArsivPortal/main/.github/icons/pypi.svg"></a> PyPI

```bash
# Yüklemek
pip install eArsivPortal

# Güncellemek
pip install -U eArsivPortal
```

## 📝 Kullanım

### <a href="#"><img width="16" src="https://raw.githubusercontent.com/keyiflerolsun/eArsivPortal/main/.github/icons/python.svg"></a> Lib

```python
from eArsivPortal import eArsivPortal

portal = eArsivPortal(
    kullanici_kodu = "33333301",
    sifre          = "1",
    test_modu      = True
)
```

```python
portal.bilgilerim()

#--------------------------------------------------------------#

Bilgilerim(
    vknTckn='3333333315',
    unvan='XYZ Yaz',
    ad='',
    soyad='',
    cadde='Sahil yolu',
    apartmanAdi='Dali çıtır pide',
    apartmanNo='12',
    kapiNo='3',
    kasaba='adana',
    ilce='GEMLİK',
    il='Antalya',
    postaKodu='16000',
    ulke='Türkiye',
    telNo='053982456665',
    faksNo='',
    ePostaAdresi='info@vekamp.com',
    webSitesiAdresi='',
    vergiDairesi='orhangazi vergi dairesi',
    sicilNo='00000000000000',
    isMerkezi='',
    mersisNo=''
)
```

```python
portal.kisi_getir(vkn_veya_tckn="3333333301")

#--------------------------------------------------------------#

Kisi(
    unvan='XYZ Yaz',
    adi='',
    soyadi='',
    vergiDairesi='orhangazi vergi dairesi'
)
```

```python
portal.fatura_olustur(
    tarih         = "07/10/1995",
    saat          = "14:28:37",
    vkn_veya_tckn = "11111111111",
    ad            = "Ömer Faruk",
    soyad         = "Sancak",
    unvan         = "",
    vergi_dairesi = "",
    urun_adi      = "Python Yazılım Hizmeti",
    fiyat         = 100,
    fatura_notu   = "— QNB Finansbank —\nTR70 0011 1000 0000 0118 5102 59\nÖmer Faruk Sancak"
)

#--------------------------------------------------------------#

FaturaOlustur(ettn='8cb401e3-ca6d-442a-8389-894459372134')
```

```python
faturalar = portal.faturalari_getir(
    baslangic_tarihi = "01/05/2023",
    bitis_tarihi     = "28/05/2023"
)

#--------------------------------------------------------------#

[
    Fatura(
        belgeNumarasi='GIB2023000002672',
        aliciVknTckn='16045751784',
        aliciUnvanAdSoyad='Sercan AYDIN',
        belgeTarihi='29-05-2023',
        belgeTuru='FATURA',
        onayDurumu='Silinmiş',
        ettn='7386c1dc-8a23-4d46-9c8d-de3512b630b4'
    ),
    Fatura(
        belgeNumarasi='GIB2023000001918',
        aliciVknTckn='16045751784',
        aliciUnvanAdSoyad='Sercan AYDIN',
        belgeTarihi='29-05-2023',
        belgeTuru='FATURA',
        onayDurumu='Onaylanmadı',
        ettn='2ef98bfa-8787-4429-a1fa-a0514560e7eb'
    ),
    Fatura(
        belgeNumarasi='GIB2023000001919',
        aliciVknTckn='16045751784',
        aliciUnvanAdSoyad='Sercan AYDIN',
        belgeTarihi='29-05-2023',
        belgeTuru='FATURA',
        onayDurumu='Onaylandı',
        ettn='8cb401e3-ca6d-442a-8389-c4d87c9eb67c'
    )
]
```

```python
html_fatura = portal.fatura_html(
    ettn        = faturalar[0].ettn
    onay_durumu = faturalar[0].onayDurumu
)

with open(f"{faturalar[0].aliciUnvanAdSoyad}.html", "w", encoding="utf-8") as dosya:
    dosya.write(html_fatura)
```

```python
portal.fatura_sil(
    faturalar = [faturalar[0], faturalar[1]]
    aciklama  = "Fatura silindi."
)

#--------------------------------------------------------------#

FaturaSil(mesaj='2 fatura başarıyla silindi.')
```

```python
imza = portal.gib_imza()
portal.gib_sms_onay(
    faturalar = faturalar[3],
    oid       = imza.oid,
    sifre     = input("SMS Doğrulama Kodu: ")
)

#--------------------------------------------------------------#

GibSMSOnay(mesaj='SMS şifreniz doğrulandı, işlem başarılı.')
```

```python
portal.cikis_yap()
```

## 🌐 Telif Hakkı ve Lisans

* *Copyright (C) 2023 by* [keyiflerolsun](https://github.com/keyiflerolsun) ❤️️
* [GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007](https://github.com/keyiflerolsun/eArsivPortal/blob/master/LICENSE) *Koşullarına göre lisanslanmıştır..*

## ♻️ İletişim

*Benimle iletişime geçmek isterseniz, **Telegram**'dan mesaj göndermekten çekinmeyin;* [@keyiflerolsun](https://t.me/KekikKahve)

## 💸 Bağış Yap

**[☕️ Kahve Ismarla](https://KekikAkademi.org/Kahve)**

***

> **[@KekikAkademi](https://t.me/KekikAkademi)** *için yazılmıştır..*

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/keyiflerolsun/eArsivPortal",
    "name": "eArsivPortal",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "eArsivPortal, KekikAkademi, keyiflerolsun",
    "author": "keyiflerolsun",
    "author_email": "keyiflerolsun@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6b/52/7ff85397cfed1f8f95eca14c54f78ed908db84fd5af85d36ced888886bd8/earsivportal-1.1.0.tar.gz",
    "platform": null,
    "description": "# \ud83e\uddfe eArsivPortal\n\n[![Boyut](https://img.shields.io/github/repo-size/keyiflerolsun/eArsivPortal?logo=git&logoColor=white&label=Boyut)](#)\n[![G\u00f6r\u00fcnt\u00fclenme](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/keyiflerolsun/eArsivPortal&title=G\u00f6r\u00fcnt\u00fclenme)](#)\n<a href=\"https://KekikAkademi.org/Kahve\" target=\"_blank\"><img src=\"https://img.shields.io/badge/\u2615\ufe0f-Kahve Ismarla-ffdd00\" title=\"\u2615\ufe0f Kahve Ismarla\" style=\"padding-left:5px;\"></a>\n\n[![PyPI Y\u00fckleyici](https://img.shields.io/github/actions/workflow/status/keyiflerolsun/eArsivPortal/PyPI.yml?label=PyPI%20Y%C3%BCkleyici&logo=github)](https://github.com/keyiflerolsun/eArsivPortal/actions/workflows/PyPI.yml)\n\n[![PyPI](https://img.shields.io/pypi/v/eArsivPortal?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/eArsivPortal)\n[![PyPI - Y\u00fcklenme](https://img.shields.io/pypi/dm/eArsivPortal?logo=pypi&logoColor=white&label=Y\u00fcklenme)](https://pypi.org/project/eArsivPortal)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/eArsivPortal?logo=pypi&logoColor=white&label=Wheel)](https://pypi.org/project/eArsivPortal)\n\n[![Python Version](https://img.shields.io/pypi/pyversions/eArsivPortal?logo=python&logoColor=white&label=Python)](#)\n[![Lisans](https://img.shields.io/pypi/l/eArsivPortal?logo=gnu&logoColor=white&label=Lisans)](#)\n[![Durum](https://img.shields.io/pypi/status/eArsivPortal?logo=windowsterminal&logoColor=white&label=Durum)](#)\n\n*G\u0130B e-Ar\u015fiv Portal e-Fatura Olu\u015fturucu*\n\n> Bu paket [Fatih Kadir Ak\u0131n](https://github.com/f)'\u0131n haz\u0131rlam\u0131\u015f oldu\u011fu [fatura](https://github.com/f/fatura) `(js)` paketinin `Python` dili ile yaz\u0131lm\u0131\u015f versiyonudur.\n\n[![ForTheBadge made-with-python](https://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n[![ForTheBadge built-with-love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/keyiflerolsun/)\n\n## \ud83d\ude80 Kurulum\n\n### <a href=\"#\"><img width=\"16\" src=\"https://raw.githubusercontent.com/keyiflerolsun/eArsivPortal/main/.github/icons/pypi.svg\"></a> PyPI\n\n```bash\n# Y\u00fcklemek\npip install eArsivPortal\n\n# G\u00fcncellemek\npip install -U eArsivPortal\n```\n\n## \ud83d\udcdd Kullan\u0131m\n\n### <a href=\"#\"><img width=\"16\" src=\"https://raw.githubusercontent.com/keyiflerolsun/eArsivPortal/main/.github/icons/python.svg\"></a> Lib\n\n```python\nfrom eArsivPortal import eArsivPortal\n\nportal = eArsivPortal(\n    kullanici_kodu = \"33333301\",\n    sifre          = \"1\",\n    test_modu      = True\n)\n```\n\n```python\nportal.bilgilerim()\n\n#--------------------------------------------------------------#\n\nBilgilerim(\n    vknTckn='3333333315',\n    unvan='XYZ Yaz',\n    ad='',\n    soyad='',\n    cadde='Sahil yolu',\n    apartmanAdi='Dali \u00e7\u0131t\u0131r pide',\n    apartmanNo='12',\n    kapiNo='3',\n    kasaba='adana',\n    ilce='GEML\u0130K',\n    il='Antalya',\n    postaKodu='16000',\n    ulke='T\u00fcrkiye',\n    telNo='053982456665',\n    faksNo='',\n    ePostaAdresi='info@vekamp.com',\n    webSitesiAdresi='',\n    vergiDairesi='orhangazi vergi dairesi',\n    sicilNo='00000000000000',\n    isMerkezi='',\n    mersisNo=''\n)\n```\n\n```python\nportal.kisi_getir(vkn_veya_tckn=\"3333333301\")\n\n#--------------------------------------------------------------#\n\nKisi(\n    unvan='XYZ Yaz',\n    adi='',\n    soyadi='',\n    vergiDairesi='orhangazi vergi dairesi'\n)\n```\n\n```python\nportal.fatura_olustur(\n    tarih         = \"07/10/1995\",\n    saat          = \"14:28:37\",\n    vkn_veya_tckn = \"11111111111\",\n    ad            = \"\u00d6mer Faruk\",\n    soyad         = \"Sancak\",\n    unvan         = \"\",\n    vergi_dairesi = \"\",\n    urun_adi      = \"Python Yaz\u0131l\u0131m Hizmeti\",\n    fiyat         = 100,\n    fatura_notu   = \"\u2014 QNB Finansbank \u2014\\nTR70 0011 1000 0000 0118 5102 59\\n\u00d6mer Faruk Sancak\"\n)\n\n#--------------------------------------------------------------#\n\nFaturaOlustur(ettn='8cb401e3-ca6d-442a-8389-894459372134')\n```\n\n```python\nfaturalar = portal.faturalari_getir(\n    baslangic_tarihi = \"01/05/2023\",\n    bitis_tarihi     = \"28/05/2023\"\n)\n\n#--------------------------------------------------------------#\n\n[\n    Fatura(\n        belgeNumarasi='GIB2023000002672',\n        aliciVknTckn='16045751784',\n        aliciUnvanAdSoyad='Sercan AYDIN',\n        belgeTarihi='29-05-2023',\n        belgeTuru='FATURA',\n        onayDurumu='Silinmi\u015f',\n        ettn='7386c1dc-8a23-4d46-9c8d-de3512b630b4'\n    ),\n    Fatura(\n        belgeNumarasi='GIB2023000001918',\n        aliciVknTckn='16045751784',\n        aliciUnvanAdSoyad='Sercan AYDIN',\n        belgeTarihi='29-05-2023',\n        belgeTuru='FATURA',\n        onayDurumu='Onaylanmad\u0131',\n        ettn='2ef98bfa-8787-4429-a1fa-a0514560e7eb'\n    ),\n    Fatura(\n        belgeNumarasi='GIB2023000001919',\n        aliciVknTckn='16045751784',\n        aliciUnvanAdSoyad='Sercan AYDIN',\n        belgeTarihi='29-05-2023',\n        belgeTuru='FATURA',\n        onayDurumu='Onayland\u0131',\n        ettn='8cb401e3-ca6d-442a-8389-c4d87c9eb67c'\n    )\n]\n```\n\n```python\nhtml_fatura = portal.fatura_html(\n    ettn        = faturalar[0].ettn\n    onay_durumu = faturalar[0].onayDurumu\n)\n\nwith open(f\"{faturalar[0].aliciUnvanAdSoyad}.html\", \"w\", encoding=\"utf-8\") as dosya:\n    dosya.write(html_fatura)\n```\n\n```python\nportal.fatura_sil(\n    faturalar = [faturalar[0], faturalar[1]]\n    aciklama  = \"Fatura silindi.\"\n)\n\n#--------------------------------------------------------------#\n\nFaturaSil(mesaj='2 fatura ba\u015far\u0131yla silindi.')\n```\n\n```python\nimza = portal.gib_imza()\nportal.gib_sms_onay(\n    faturalar = faturalar[3],\n    oid       = imza.oid,\n    sifre     = input(\"SMS Do\u011frulama Kodu: \")\n)\n\n#--------------------------------------------------------------#\n\nGibSMSOnay(mesaj='SMS \u015fifreniz do\u011fruland\u0131, i\u015flem ba\u015far\u0131l\u0131.')\n```\n\n```python\nportal.cikis_yap()\n```\n\n## \ud83c\udf10 Telif Hakk\u0131 ve Lisans\n\n* *Copyright (C) 2023 by* [keyiflerolsun](https://github.com/keyiflerolsun) \u2764\ufe0f\ufe0f\n* [GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007](https://github.com/keyiflerolsun/eArsivPortal/blob/master/LICENSE) *Ko\u015fullar\u0131na g\u00f6re lisanslanm\u0131\u015ft\u0131r..*\n\n## \u267b\ufe0f \u0130leti\u015fim\n\n*Benimle ileti\u015fime ge\u00e7mek isterseniz, **Telegram**'dan mesaj g\u00f6ndermekten \u00e7ekinmeyin;* [@keyiflerolsun](https://t.me/KekikKahve)\n\n## \ud83d\udcb8 Ba\u011f\u0131\u015f Yap\n\n**[\u2615\ufe0f Kahve Ismarla](https://KekikAkademi.org/Kahve)**\n\n***\n\n> **[@KekikAkademi](https://t.me/KekikAkademi)** *i\u00e7in yaz\u0131lm\u0131\u015ft\u0131r..*\n",
    "bugtrack_url": null,
    "license": "GPLv3+",
    "summary": "G\u0130B e-Ar\u015fiv Portal e-Fatura Olu\u015fturucu",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/keyiflerolsun/eArsivPortal"
    },
    "split_keywords": [
        "earsivportal",
        " kekikakademi",
        " keyiflerolsun"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c4cde9d80f70f9727959f4cde50227d13f4113a361c3ee857acedc72c5c4979",
                "md5": "d782a3e95c2b6919e7ba7839e87456e0",
                "sha256": "a2381e1a76ee8353fa04ee9edf60ad9183444bf858a9978b2ce4c5cfb639d5f0"
            },
            "downloads": -1,
            "filename": "eArsivPortal-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d782a3e95c2b6919e7ba7839e87456e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 23593,
            "upload_time": "2024-11-21T06:31:31",
            "upload_time_iso_8601": "2024-11-21T06:31:31.602500Z",
            "url": "https://files.pythonhosted.org/packages/3c/4c/de9d80f70f9727959f4cde50227d13f4113a361c3ee857acedc72c5c4979/eArsivPortal-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b527ff85397cfed1f8f95eca14c54f78ed908db84fd5af85d36ced888886bd8",
                "md5": "0df82ca3f98640b1b980db0e9a00bed1",
                "sha256": "791b6f8fef2c172078dc90e86f732b2f1b3f9a841821bb339b617a12f9aa097d"
            },
            "downloads": -1,
            "filename": "earsivportal-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0df82ca3f98640b1b980db0e9a00bed1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 23675,
            "upload_time": "2024-11-21T06:31:33",
            "upload_time_iso_8601": "2024-11-21T06:31:33.718398Z",
            "url": "https://files.pythonhosted.org/packages/6b/52/7ff85397cfed1f8f95eca14c54f78ed908db84fd5af85d36ced888886bd8/earsivportal-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-21 06:31:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "keyiflerolsun",
    "github_project": "eArsivPortal",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "earsivportal"
}
        
Elapsed time: 0.53568s