semvec/pypi-packages huggingface dataset:
respon-gen 0.0.1
This package was made to help generate responsive images in bulk
License: MIT
Requires Python: >=3.7
Keywords: responsive images python web development developer response_images_gen responsive images generator

# Responsive generator
Responsive images generator is a command line python package that would convert all the images in your folder to responsive ones
in their own designated folder. The main goal of this package is to help developers quickly generate
responsive images in bulk.

###Image Sizes 
The Image sizes that would be generated would be based on the recommendations of this [article](https://medium.com/hceverything/applying-srcset-choosing-the-right-sizes-for-responsive-images-at-different-breakpoints-a0433450a4a3)
- 1920px (For FullHD Screens and up)
- 1600px (For desktops anf tables in portrait mode
- 1366px (Desktop)
- 1024px (1024X768 screens)
- 768px (Useful for 2x 375px mobile screens as well as any device)
- 640px (for smartphones)


## Installation and updating
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Res like below. 
Rerun this command to check for and install  updates .

```bash
pip install respon_gen
```

## Usage
You need to run the command in the folder where your image folder would be
For example, in the tree below,  if your image folder is  images, you run the command in root

```bash
├── root
│   ├── images

````

Features:
* functions.listChunker  --> generator that chunks and interable in evenly sized chunks 
* functions.weirdCase    --> converts a string to a totally unreadable format
* functions.report      --> prints to the console with a timestamp
* decorators.singleton  --> used for decoratint your class to make it a singleton

#### Demo:

```bash
 respon_gen --input_folder input_folder --output_folder output_folder
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)
prayer-tool 3.2.0
The prayer tool api is a complete api to get the prayer schedule in your city. Fast, updated and easy to use !
License: MIT

# prayer_tool
The prayer_tool is an open-source library based on prayertimes.date API. [Check their API here](https://prayertimes.date/api)\
It provides you a complete library to get the prayer times for the day or the whole month.

## How to get it ?
The prayer_tool is a python package that you can simply install using the following command
```
pip install prayer-tool
```
## How to use it ?
To use our library in your code, you need to import it and intialize it, that's all. It's easy !
```
from prayer_tool import prayer_times

## Intialize an instance of it
instance = prayer_times.PrayerTimes(city="Brussels", school=3, juristic=0)

## Get today's prayer's
today = instance.get_date()

# EXAMPLES
print(f"{today.fajr.name} : {today.fajr.time}")
# fajr : 04:42:00

print(f"{today.dhor.name} : {today.dhor.time}")
# dhor : 13:46:00
```
## Advanced requests
### Precise day
You can also get the schedule for a precise day.
Code example:
```
from prayer_tool import prayer_times
import datetime

#Declaring an instance
instance = prayer_times.PrayerTimes()

#The datetime object we need
date = datetime.datetime(year = 2021, month = 8, day = 23)

#Call the function and save the result
result = instance.get_date(date)

print(result.__str__())

##output:
Date : 2021-08-23 00:00:00 
fajr : 04:32:00
dhor : 13:45:00
asr : 17:37:00
maghreb : 20:48:00
icha : 22:48:00
```
### Date interval
You are also able to ask for the schedule in a date interval.
Code example:
```
from prayer_tool import prayer_times
import datetime

#Declaring an instance
instance = prayer_times.PrayerTimes(city="Paris")

#The datetime objects we need
start = datetime.datetime(year = 2021, month = 8, day = 23)
end = datetime.datetime(year = 2021, month = 8, day = 26)

#Call the function and save the result
result = instance.get_date(start, end)

for item in result:
    print(item.__str__() + "\n")

##output:
Date : 2021-08-23 00:00:00 
fajr : 04:32:00
dhor : 13:45:00
asr : 17:37:00
maghreb : 20:48:00
icha : 22:48:00

Date : 2021-08-24 00:00:00
fajr : 04:35:00
dhor : 13:45:00
asr : 17:36:00
maghreb : 20:46:00
icha : 22:45:00
...
```

## Customize the result
The prayers differ from city to city, school to school and so one. That's why the API lets you chose your preferences.
Here are the options:
```
SCHOOL : 
Id	Name	
0	Ithna Ashari
1	University of Islamic Sciences, Karachi	
2	Islamic Society of North America
3	Muslim World League (default)
4	Umm Al-Qura University, Mecca
5	Egyptian General Authority of Survey
7	Institute of Geophysics, University of Tehran
8	Morocco
9	Department of Islamic Advancement, Malaysia (JAKIM)	
10	Majlis Ugama Islam Singapura
11	Union des Organisations Islamiques de France
12	Turkey
```
```
JURISTIC :
Id	Juristic
0	Shafii (default)
1	Hanafi
```