semvec/pypi-packages huggingface dataset:
PhotoSex 0.2
A simple tool to perform aperture or PSF photometry with Sextractor+PSFEX
License: MIT

PhotoSex

A simple package to perform photometry on FITS images based on Sextractor+PSFEX, including aperture photometry and PSF photometry.
This package calls external Sextractor and PSFEX applications, thus please install Sextractor+PSFEX firstly and make sure that you can call them directly in terminal.
This package also includes checking routines which means it can produce some checking images and figures.
You just need to offer one FITS image and choose a working directory, then the package can perform photometry on the image and produce the temporary and final results in the working directory. Please note that you must offer a sextractor directory which includes all configuration files for Sextractor and PSFEX.



Requirements:

astropy
numpy
pandas
opencv-python
seaborn
scikit-learn
tqdm
visual-logging (pip install visual-logging)
requests

external:
Sextractor (conda install -c conda-forge astromatic-source-extractor)
PSFEX (conda install -c conda-forge astromatic-psfex)



Installation:

pip install PhotoSex


Examples:

see test/test_example.ipynb
volt.py 0.0.1
Wrapper of discord api for discord.py. Personal project for my study.
License: MIT
Requires Python: >=3.7
Keywords: discord api,discord.py,discord api wrapper

# Volt
**Volt** is yet another discord api wrapper for Python.
It supports python 3.7 +

## How to install
```shell
pip install volt
```

## Structure
### Event listener
```python
from volt import Client, Intents, Message

client = Client(intents=Intents.all())

@client.listen('message')
async def on_message(msg: Message):
    if not msg.author.bot:
        # echo user message
        await msg.reply(msg.content)

client.run('BOT_TOKEN')
```
### Slash Commands
```python
from volt import Client, Intents, interaction, User

client = Client(intents=Intents.all())

@client.command(
    name='greeting'
)
async def greeting_slash(ctx: interaction.Context, user: User):
    await ctx.respond(...)

client.run('BOT_TOKEN')
```
```python
### Message Components
from volt import Client, Intents, interaction, components, User

client = Client(intents=Intents.all())

@client.command(
    name='greeting'
)
async def greeting_slash(ctx: interaction.Context, user: User):
    await ctx.respond(components=[
        components.ActionRow([
            components.Button(
                custom_id='my_btn',
                style=components.ButtonStyle.Primary
            )
        ])
    ])

client.run('BOT_TOKEN')
```