semvec/pypi-packages huggingface dataset:
climailsystem 0.111
A small Package for sending  mails from cli

# CLI Mail System 
 This Is a simple Mail System which is used to Read and send mails using gmail api. If You want to try the beta version of this then install it using python python package index(pip) via following command<br>
```
$ pip3 install climailsystem
```
You can use this module as command line tool or you can use it as python module
## CLI Guide
```
$ climail --help
```
This will show You all the valid commands available

```
Usage: climail [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  deleteapicreds
  mdetails
  relogin
  sendmessage
  sendmessage-attach
  udetails
```
arguments of command
```
$ climail sendmessage --help
Usage: climail sendmessage [OPTIONS] EMAIL_ID_OF_SENDER SUBJECT MSSG

Options:
  --help  Show this message and exit.

```  
## Module Guide
```
import sendmail
mssg = sendmail.sendmessage(email_address_of_sender,subject,mssg)
#used for sending email without attachment
mssg_attach  = sendmail.sendmessage(email_address_of_sender,subject,mssg,path_of_file_to_be_shared)
#used for sending email with attachment
user_details = sendmail.userdetails()
#used for checking details of user like email id, displaydetails
user_mssg_details = sendmail.usermessagedetails()
#used for checking details of user messages like total number of messages, threads etc
logout = sendmail.login()
#used for changing the user 
delete_Creds = sendmail.deleteapicreds()
#used for changing api creds
```
For Using this module you need Api credentials of Gmail Api , You can use the credentials present in client.json simply copy the credentials and paste it or you can create your own credentials at developer console. Please note that this is the one time process only i.e you have to enter the credentials only on your 1st use. when you will run this module as command line Interface for 1st time or will import this module in your project for 1 st time then a message will be displayed on Your screen.
```
Enter Creds
```
Then copy your api credentials and paste it on console.
MinuteMail 0.2.0
Package that lets you generate email addresses and read their mail through dropmail.me websocket.
Requires Python: >=3.6

# MinuteMail
A python package for recieving mail from temporary email addresses.

## Installation

This package has been published on PyPi, to install it run
```pip install MinuteMail```

## Usage

```python
# Import package
import MinuteMail

# Create a new mailbox
box = MinuteMail.mailbox()

# A new mailbox already comes with one email address
print(box.get_emails()[0])

# You can save the passwords to addresses to a file
'''
with open ('email_hashes.txt', 'w') as f:
	for hash in box.email_hashes:
		f.write(hash)
		f.write('\n')
'''
# You can then read the hashes and add them to the box in the next session
'''
with open ('email_hashes.txt', 'r') as f:
	for hash in f:
		box.add_hash(hash)
'''

#Wait for and print arriving mail
while True:
	print(box.next())

```

### Emails come in JSON format. Here's an example of what you'd recieve
```json
{
   "to_mail_orig":"zbitobdkvvbb@dropmail.me",
   "to_mail":"zbitobdkvvbb@dropmail.me",
   "text_source":"text",
   "text":"This is message text",
   "subject":"This is the message subject line",
   "ref":"l2vnogdc02kme9oetllg27ivstqdcer6",
   "received":"2020-11-12T13:30:24Z",
   "has_html":true,
   "from_mail":"sender@email.xx",
   "from_hdr":"'Sender Name' <sender@email.xx>",
   "decode_status":0,
   "attached":[
      
   ]
}
```
multilingual-pdf2text 1.1.0
A python library for extracting text from PDFs without losing the formatting of the PDF content.
Requires Python: >=3.6

# Multilingual PDF to Text.

## Install Package from Pypi
1. Install it using pip.
```bash
pip install multilingual-pdf2text
```
The library uses Tesseract which can be installed by following instructions:

[Tesseract Installation](https://tesseract-ocr.github.io/tessdoc/Installation.html)

## Example Usage
2. Use it in your code
```python
from multilingual_pdf2text.pdf2text import PDF2Text
from multilingual_pdf2text.models.document_model.document import Document
import logging
logging.basicConfig(level=logging.INFO)

def main():
    ## create document for extraction with configurations
    pdf_document = Document(
        document_path='/Users/shahrukh/Desktop/multilingual-pdf2text/example/example.pdf',
        language='spa'
        )
    pdf2text = PDF2Text(document=pdf_document)
    content = pdf2text.extract()
    print(content)

if __name__ == "__main__":
    main()
```

Tesseract supports the following languages:
Code	Language
* afr	Afrikaans
* amh	Amharic
* ara	Arabic
* asm	Assamese
* aze	Azerbaijani
* aze_cyrl	Azerbaijani - Cyrillic	aze_
* bel	Belarusian
* ben	Bengali
* bod	Tibetan
* bos	Bosnian
* bul	Bulgarian
* cat	Catalan; Valencian
* ceb	Cebuano
* ces	Czech
* chi_sim	Chinese - Simplified	chi_
* chi_tra	Chinese - Traditional	chi_
* chr	Cherokee
* cym	Welsh
* dan	Danish
* deu	German
* dzo	Dzongkha
* ell	Greek, Modern (1453-)
* eng	English
* enm	English, Middle (1100-1500)
* epo	Esperanto
* est	Estonian
* eus	Basque
* fas	Persian
* fin	Finnish
* fra	French
* frk	German Fraktur
* frm	French, Middle (ca. 1400-1600)
* gle	Irish
* glg	Galician
* grc	Greek, Ancient (-1453)
* guj	Gujarati
* hat	Haitian; Haitian Creole
* heb	Hebrew
* hin	Hindi
* hrv	Croatian
* hun	Hungarian
* iku	Inuktitut
* ind	Indonesian
* isl	Icelandic
* ita	Italian
* ita_old	Italian - Old	ita_
* jav	Javanese
* jpn	Japanese
* kan	Kannada
* kat	Georgian
* kat_old	Georgian - Old	kat_
* kaz	Kazakh
* khm	Central Khmer
* kir	Kirghiz; Kyrgyz
* kor	Korean
* kur	Kurdish
* lao	Lao
* lat	Latin
* lav	Latvian
* lit	Lithuanian
* mal	Malayalam
* mar	Marathi
* mkd	Macedonian
* mlt	Maltese
* msa	Malay
* mya	Burmese
* nep	Nepali
* nld	Dutch; Flemish
* nor	Norwegian
* ori	Oriya
* pan	Panjabi; Punjabi
* pol	Polish
* por	Portuguese
* pus	Pushto; Pashto
* ron	Romanian; Moldavian; Moldovan
* rus	Russian
* san	Sanskrit
* sin	Sinhala; Sinhalese
* slk	Slovak
* slv	Slovenian
* spa	Spanish; Castilian
* spa_old	Spanish; Castilian - Old	spa_
* sqi	Albanian
* srp	Serbian
* srp_latn	Serbian - Latin	srp_
* swa	Swahili
* swe	Swedish
* syr	Syriac
* tam	Tamil
* tel	Telugu
* tgk	Tajik
* tgl	Tagalog
* tha	Thai
* tir	Tigrinya
* tur	Turkish
* uig	Uighur; Uyghur
* ukr	Ukrainian
* urd	Urdu
* uzb	Uzbek
* uzb_cyrl	Uzbek - Cyrillic	uzb_
* vie	Vietnamese
* yid	Yiddish
fsmlayers 0.0.2
Helper scripts for fetching and managing basic input layers Farm Mapping
Requires Python: >=3.7

# fsm-layers

Helper scripts for fetching and managing basic geotiff files related to Farm Mapping

Supports:

- elevation
- red bands
- blue bands
- green bands
- near-inferred bands

Coming:

Australian Radiometric data
- k gamma
- u gamma
- th gamma

Install:

```
pip install https://github.com/Open-Source-Agriculture/farmlayers
```

Usage:

Make area of interest using shapely geoms:

```python
from shapely.geometry.multipolygon import MultiPolygon
from farmlayers import shp_to_boundaries

boundaries = shp_to_boundaries("boundaries.shp")
```

Download elevation:


```python
from farmlayers import download_elevation

download_elevation(geom=MultiPolygon(polygons=boundaries), dir="data")
```

Download soil related landsat 8 bands:

```python
from farmlayers import download_soil

download_soil(geom=MultiPolygon(polygons=boundaries), dir="data")
```

Download crop related landsat 8 bands


```python
from farmlayers import download_crop

download_crop(geom=MultiPolygon(polygons=boundaries), dir="data")

```