semvec/pypi-packages huggingface dataset:
python-sendmail 0.3.5
Sendmail client. send mail via stmp server.
License: MIT
Keywords: python-sendmail, pysendmail, sendmail, pysendeml, sendeml, mail

# python-sendmail


Sendmail client. send mail via stmp server.
 
## Install

```
pip install python-sendmail
```
    
## Installed Command Lines

- pysendmail

## Help

```
test@test ~ % pysendmail --help
Usage: pysendmail [OPTIONS] [CONTENT]

  Send mail.

Options:
  -f, --from-address TEXT  Mail sender, e.g. Name <name@example.com> or
                           name@example.com.  [required]
  -t, --to-address TEXT    Mail recipients, e.g. Name <name@example.com> or
                           name@example.com.  [required]
  -s, --subject TEXT       Mail subject
  -a, --attach TEXT        Mail attachments, allow multiple use.
  --html                   Mail content is HTML format.
  -e, --encoding TEXT      Encoding of the mail content input.
  -c, --charset TEXT       Encoding of the mail content output.
  -h, --host TEXT          Mail server address, default to 127.0.0.1.
  -p, --port INTEGER       Mail server port, default to 25. If you are using
                           an ssl server, mostly the port should be 465.
  --ssl                    Mail server using ssl encryption.
  -u, --user TEXT          Mail server login account. Empty user means don't
                           use login.
  -P, --password TEXT      Mail server login password. Empty password means
                           don't use login.
  --verify                 Verify ssl certificate.
  --help                   Show this message and exit.

```

## 使用案例


### Send mail with auth, without attachment.

- Mail sender：sender@example.com
- Mail recipient: recipient@exmaple.com
- Subject：just a test mail
- Content：just a test mail
- Mail Server Address：stmp.example.com
- Mail Server Port：465
- Use ssl: yes
- Account: sender@example.com
- Password: senderPassword
- Attachment: None

```
pysendmail -h stmp.example.com -p 465 --ssl -u sender@example.com -P senderPassword -f 'SENDER <sender@exmaple.com>' -t recipient@exmaple.com -s 'just a test mail' 'just a test mail'
```


### Send mail with attachment, without auth

- Mail sender：sender@example.com
- Mail recipient: recipient@exmaple.com
- Subject：just a test mail
- Content：just a test mail
- Mail Server Address：127.0.0.1
- Mail Server Port：25
- Use ssl: No
- Account: None
- Password: None
- Attachment: /path/to/attachment.pdf

```
pysendmail -f sender@exmaple.com -t recipient@exmaple.com -s 'just a test mail' -a /path/to/attachment.pdf 'just a test mail'
```

## Releases

### v0.3.5

- Doc update.

### v0.3.4

- Doc update.

### v0.3.3

- Fix ssl context problem.
- Add attach filename support.

### v0.3.2

- Add verify option. By default python-sendmail will ignore the ssl verify.

### v0.3.1

- Change help information to english.
- Use new style to release.

### v0.3.0

- Old style release.
gPhoton-astro 1.0.4
A modified version of gPhoton for astrophysical data analysis
License: MIT
Requires Python: >=3.8

**gPhoton** is a project to calibrate, archive, and make available every photon event observed by the GALEX mission in an effort to dramatically improve the flexibility and utility of the data with specific emphasis on enabling short time domain photometric studies.

To get started, please read the [User Guide](https://github.com/cmillion/gPhoton/blob/master/docs/UserGuide.md).  You can also refer to the [Full API](http://gphoton.readthedocs.io/en/master/) available on ReadTheDocs.

Note that Python 2.x is no longer supported by gPhoton, and many things will break under Python 2. **Use Python 3 or above.**

If you use gPhoton software in your research, please cite at least one of the following:
* _Million, et al. "gPhoton: The GALEX Photon Data Archive." The Astrophysical Journal 833.2 (2016): 292._
* _Million, et al., 2016, gPhoton, Astrophysics Source Code Library, record ascl:1603.004_
streamlit-kpi-card 0.1.2
A beautiful, interactive KPI card component for Streamlit with time series visualization
License: MIT
Requires Python: >=3.7
Keywords: streamlit, kpi, card, metrics, dashboard, visualization

# Streamlit KPI Card

KPI card component for Streamlit with time series charts and delta indicators.

![Example KPI Cards](https://raw.githubusercontent.com/pjoachims/streamlit-kpi-card/main/example.png)

## Usage

```python
import streamlit as st
import pandas as pd
from streamlit_kpi_card import kpi_card

# Create sample time series data
time_series = pd.Series([100, 105, 103, 108, 110, 115, 120])

# Minimal usage - format auto-detected from value type
kpi_card(
    name='Active Users',
    value=1250,
    value_before=1100
)

# With currency formatting
kpi_card(
    name='Revenue',
    value=14500.00,
    value_before=12000.00,
    time_series=time_series,
    format="currency"
)

# Custom currency
kpi_card(
    name='Revenue (USD)',
    value=14500.00,
    value_before=12000.00,
    format={"type": "currency", "decimals": 2, "currency": "$"}
)
```

## Parameters

**Required:**
- `name` - KPI label
- `value` - Current value
- `value_before` - Previous value for delta calculation

**Optional:**
- `relative_change` - Show percentage vs absolute change (default: False)
- `time_series` - pd.Series for chart display
- `format` - String ('number', 'percentage', 'currency', 'integer') or dict. Auto-detects integer vs number if omitted. Defaults: 2 decimals, € for currency
- `chart_type` - 'line', 'bar', or 'area' (default: 'line')
- `line_color` - Chart line color
- `show_average` - Show average line on chart
- `info_text` - Hover text for info icon
- `is_inverse` - Invert colors for "lower is better" metrics
- `background_color`, `border`, `shadow`, `border_radius`, `height` - Styling options

## License

MIT