Skip to main content

Kandilli Rasathanesi aracılığı ile elde edilen deprem sinyallerini kullanarak depremleri gösteren bir Python kütüphanesidir.

Project description

deprempy

Kandilli Rasathanesi araciligi ile elde edilen deprem sinyallerini kullanarak depremleri gosteren bir Python kutuphanesidir.

Installation

Use the package manager pip to install foobar.

pip install -U deprempy

Usage

from deprempy import Deprem

deprem = Deprem()



deprem.son_deprem()

"""
{
    'tarih': '2023.04.19', 
    'saat': '14:45:23', 
    'enlem': '37.8543', 
    'boylam': '36.5763', 
    'derinlik': '12.1', 
    'buyukluk': '2.5', 
    'yer': 'CEVREPINAR-(KAHRAMANMARAS)', 
    'tip': 'Ilksel'
}
"""

deprem.son_1saat(2)

"""
[
    {
        'tarih': '2023.04.19', 
        'saat': '14:45:23', 
        'enlem': '37.8543', 
        'boylam': '36.5763', 
        'derinlik': '12.1', 
        'buyukluk': '2.5', 
        'yer': 'CEVREPINAR-(KAHRAMANMARAS)', 
        'tip': 'Ilksel'
    }, 
    {
        'tarih': '2023.04.19', 
        'saat': '14:28:29', 
        'enlem': '37.4822', 
        'boylam': '35.2963', 
        'derinlik': '7.7', 
        'buyukluk': '2.0', 
        'yer': 'MADENLI-ALADAG (ADANA)', 
        'tip': 'Ilksel'
    }
]
"""

deprem.son_24saat(2)

"""
[
    {
        'tarih': '2023.04.19', 
        'saat': '14:45:23', 
        'enlem': '37.8543', 
        'boylam': '36.5763', 
        'derinlik': '12.1', 
        'buyukluk': '2.5', 
        'yer': 'CEVREPINAR-(KAHRAMANMARAS)',
        'tip': 'Ilksel'
    }, 
    {
        'tarih': '2023.04.19', 
        'saat': '14:28:29', 
        'enlem': '37.4822', 
        'boylam': '35.2963', 
        'derinlik': '7.7', 
        'buyukluk': '2.0', 
        'yer': 'MADENLI-ALADAG (ADANA)', 
        'tip': 'Ilksel'
    }
]
"""

deprem.tum_depremler(2)

"""
[
    {
        'tarih': '2023.04.19', 
        'saat': '14:45:23', 
        'enlem': '37.8543', 
        'boylam': '36.5763', 
        'derinlik': '12.1', 
        'buyukluk': '2.5', 
        'yer': 'CEVREPINAR-(KAHRAMANMARAS)',
        'tip': 'Ilksel'
    }, 
    {
        'tarih': '2023.04.19', 
        'saat': '14:28:29', 
        'enlem': '37.4822', 
        'boylam': '35.2963', 
        'derinlik': '7.7', 
        'buyukluk': '2.0', 
        'yer': 'MADENLI-ALADAG (ADANA)', 
        'tip': 'Ilksel'
    }
]
"""

License

MIT

Contact

Telegram - Github

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

deprempy-0.0.7.tar.gz (15.0 kB view hashes)

Uploaded Source

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