semvec/pypi-packages huggingface dataset:
QuakeScraper-snrufomechanic 0.0.1
A Python package for scraping earthquake data from Kandilli Observatory and Earthquake Research Institute (KOERI) and extracting useful information.
Requires Python: >=3.8

# Earthquake Scraper

## A Python package for scraping earthquake data from [Kandilli Observatory and Earthquake Research Institute (KOERI)](http://www.koeri.boun.edu.tr/) and extracting useful information.

# -Installation

---

```bash
pip install QuakeScraper
```

---

## <h1> Usage </h1>

```python
# Example usage of the earthquake scraper

from earthquake_scraper import fetch_earthquake_data

# Define your query parameters

start_year = "2023"
start_month = "01"
start_day = "01"
end_year = "2023"
end_month = "12"
end_day = "31"

# Fetch earthquake data and save as a DataFrame

earthquake_df = fetch_earthquake_data(start_year, start_month, start_day, end_year, end_month, end_day, output_type='DF')

# Display the DataFrame

print(earthquake_df.head())
```

---

<h1> Parameters </h1>
- start_year, start_month, start_day: Start date of the query period. <br>
- end_year, end_month, end_day: End date of the query period. <br>
- Other optional parameters for specifying the geographical area, earthquake  magnitude, depth, and output type.

---

<h1> Output Types </h1>
DF: Returns the earthquake data as a DataFrame.
TXT: Saves the raw data to a text file.
CSV: Converts the raw data to CSV format and saves it to a file.
lightflask 1.0.0
Lightweight Markdown Router for Flask
Requires Python: >=3.9.8

# LightFlask Markdown Router

LightFlask Markdown Router is a tool that allows you to easily integrate Markdown files into Flask applications. Users can create dynamic content by linking Markdown files to specific URLs.

## Installation

Before starting your project, run the following command in the terminal or command prompt to install the required packages:

```bash
pip install lightflask
```

## Usage
Add LightFlask to your main file (app.py or similar) as follows:

```python
from flask import Flask, render_template
from lightflask import LightFlask

app = Flask(__name__)
lightflask = LightFlask(app)

@lightflask.route('/', 'index.md')
def markdown1():
    return lightflask.get_content('index.md')

lightflask.register_routes()

if __name__ == '__main__':
    app.run(debug=True)

```

In the example above, the /markdown1 URL is linked to the markdown1.md Markdown file.

## Contributing
Your contribution is welcome! Please fork the project, add improvements, and submit pull requests.

## License
This project is licensed under the MIT License. For more information, see the [LICENSE](LICENSE) file.