semvec/pypi-packages huggingface dataset:
xregistration 0.0.2
Robust astrometric registration and cross-match of astronomical catalogs.
Requires Python: >=3.5

# robust-registration

# Robust astrometric registration and cross-match of astronomical catalogs

This code does robust (Bayesian) cross-matches of catalogs with potentially large astrometric errors.
The algorithm is described in [Tian et al. (2019)](https://ui.adsabs.harvard.edu/abs/2019AJ....158..191T).

The `xregistration` module includes code that implements a catalog cross-match with astrometric errors.  The algorithm uses a Bayesian approach to handle objects that do not
exist in both catalogs.  This version of the algorithm implements the "ring" algorithm, which subsets all pairs within an initial search radius _R_ into overlapping rings.  This approach allows it to find shifts that are much larger than the positional uncertainties in the catalogs.  It is particularly appropriate for catalogs from Hubble Space Telescope and other small field telescopes that have potentially large astrometric errors.  The code in the `xregistration/estimation.py` module also uses a simple annealing schedule for the astrometric uncertainty, the &sigma; value, to improve convergence in the iteration.

The Jupyter notebook demonstrates using the robust registration algorithm to cross-match catalogs with rotation and shift.  The first part of this notebook tests the algorithm on simulated HST/ACS/WFC catalogs. The second part demonstrates the cross-registration of a real HST image with a large shift (from the HLA catalog) to the Gaia DR2 catalog of the same field.  We also compare the robust estimation results with the results from the method of least-squares (Budavári & Lubow 2012).

### Installation

Install this code using pip:

`pip install xregistration`

### References

[Tian, F., Budavári, T., Basu, A., Lubow, S.H., & White, R.L. (2019) Robust Registration of Astronomy Catalogs with Applications to the Hubble Space Telescope. _The Astronomical Journal_ 158, 191. doi:10.3847/1538-3881/ab3f38](https://ui.adsabs.harvard.edu/abs/2019AJ....158..191T).

[Budavári, T., & Lubow, S.H. (2012) Catalog Matching with Astrometric Correction and its Application to the Hubble Legacy Archive. _The Astrophysical Journal_ 761, 188. doi:10.1088/0004-637X/761/2/188](https://ui.adsabs.harvard.edu/abs/2012ApJ...761..188B)

| Module                         | Description |
| ------------------------------ | ----------- |
| xregistration                  | Robust cross-match module |
| demo_robust_registration.ipynb | Jupyter notebook demo script |
dontbs 0.0.5
Don't bullshit
Requires Python: >=3.7

# Don't Bullshit

## What can you do with dontbs
* Set the daily goal of your GitHub contributions
* Check your progress
* Don't do shit and watch how this stupid script insults you all day
* Reach your goal and get nothing

## Usage
```console
Usage: dontbs [OPTIONS] USERNAME

Options:
  --today          Today's contribution count.
  --this-week      This week's contribution count.
  --this-year      This year's contribution count.
  --current-level  Current level based on today's contribution count.
  --next-level     Minimum amount of contributions needed to level up.
  --streak         Streak of daily contributios.
  --goal INTEGER   Set your daily goal of contributions.
  --help           Show this message and exit.
```

## Installation
```console
pip install dontbs
```
frases 0.1.3
API de frases
Keywords: API,frases

# Frases.py
Libreria de Python para la API de [Las Frases](https://frases.atico.ga)

## Instalar/Actualizar
### PyPI
`$ pip install frases`

### Git
```
$ git clone https://github.com/Luqaska/frases.py.git
$ cd frases
$ pip install .
```

## Ejemplo
```python
import frases
print(frases.frase()["frase"])
```

## Funciones
En todos los casos, una frase se vendria a ver algo asi: `{'autor': <autor>, 'frase': <frase>}`. Esta puede venir en listas o no.

- `frase()`: Frase al azar
	- Respuesta: Frase
- `all()`: Lista de todas las frases disponibles
	- Respuesta: Lista de frases
- `autor(autor)`: Filtrar por autor (Anonimo => False)
	- Respuesta: Lista de frases
- `buscar(consulta: str)`: Buscar frase por su contenido
	- Respuesta: Lista de frases

(C) 2022 [Luqaska](https://atico.ga)
chargily-epay-python 0.0.2
Chargily ePay Gateway (Python Library)
Requires Python: >=3.7
Keywords: e-pay,chargily,edahabia,cib

# epay-chargily-python
Chargily ePay Gateway (Python Library)

![Chargily ePay Gateway](https://raw.githubusercontent.com/Chargily/epay-gateway-php/main/assets/banner-1544x500.png "Chargily ePay Gateway")

This Plugin is to integrate ePayment gateway with Chargily easily.
- Currently support payment by **CIB / EDAHABIA** cards and soon by **Visa / Mastercard** 
- This repo is recently created for **Python Library**, If you are a developer and want to collaborate to the development of this library, you are welcomed!

# Instalation
## chargily-epay
this is `sync` version using `requests` library 
```
pip install chargily-epay-python
```


## chargily-epay-async
this is `async` version using `aiohttp` library
```
pip install chargily-epay-Async
```

## Quickstart 
Simple example
```py
from chargily_lib.constant import EDAHABIA
from chargily_lib.invoice import Invoice
from chargily_lib.utils import extract_redirect_url
from chargily_lib.sync_lib.webhook import make_payment

API_KEY = "YOUR-API-KEY"

invoice = Invoice()
invoice.client = "Tarek berkane"
invoice.client_email = 'example@gmail.com'
invoice.invoice_number = '1'
invoice.mode = EDAHABIA
invoice.amount = 10000 
invoice.discount = 0
invoice.comment = 'my first invoice payment.'
invoice.back_url = 'https://example.com/'
invoice.webhook_url = 'https://example.com/'


response = make_payment(invoice, API_KEY)

if response.status_code == 201:
    print(extract_redirect_url(response.content))
```

# Contribution tips
1. Make a fork of this repo.
2. Take a tour to our [API documentation here](http://dev.codingdz.com/python-chargily-epay/)
3. Get your API Key/Secret from [ePay by Chargily](https://epay.chargily.com) dashboard for free.
4. Start developing.
5. Finished? Push and merge.
chargily-epay-Async 0.0.2
Chargily ePay Gateway (Python Library)
Requires Python: >=3.7
Keywords: e-pay,chargily,edahabia,cib

# epay-chargily-python
Chargily ePay Gateway (Python Library)

![Chargily ePay Gateway](https://raw.githubusercontent.com/Chargily/epay-gateway-php/main/assets/banner-1544x500.png "Chargily ePay Gateway")

This Plugin is to integrate ePayment gateway with Chargily easily.
- Currently support payment by **CIB / EDAHABIA** cards and soon by **Visa / Mastercard** 
- This repo is recently created for **Python Library**, If you are a developer and want to collaborate to the development of this library, you are welcomed!

# Instalation
## chargily-epay
this is `sync` version using `requests` library 
```
pip install chargily-epay-python
```


## chargily-epay-async
this is `async` version using `aiohttp` library
```
pip install chargily-epay-Async
```

## Quickstart 
Simple example
```py
from chargily_lib.constant import EDAHABIA
from chargily_lib.invoice import Invoice
from chargily_lib.utils import extract_redirect_url
from chargily_lib.sync_lib.webhook import make_payment

API_KEY = "YOUR-API-KEY"

invoice = Invoice()
invoice.client = "Tarek berkane"
invoice.client_email = 'example@gmail.com'
invoice.invoice_number = '1'
invoice.mode = EDAHABIA
invoice.amount = 10000 
invoice.discount = 0
invoice.comment = 'my first invoice payment.'
invoice.back_url = 'https://example.com/'
invoice.webhook_url = 'https://example.com/'


response = make_payment(invoice, API_KEY)

if response.status_code == 201:
    print(extract_redirect_url(response.content))
```

# Contribution tips
1. Make a fork of this repo.
2. Take a tour to our [API documentation here](http://dev.codingdz.com/python-chargily-epay/)
3. Get your API Key/Secret from [ePay by Chargily](https://epay.chargily.com) dashboard for free.
4. Start developing.
5. Finished? Push and merge.
CMake-Class-Creator 0.1.6
A script that inserts a new c++ class in an existing CMake configuration.

# CMake Class Creator
A script that inserts a new c++ class in an existing CMake configuration.

A class is composed of a header file and a source file. That's two files! And sometimes they have to be added to different folders as well!
Adding classes and files can be tedious when using CMake. This project automates adding classes or single files to a cmake configuration.

## How to install
The recommended way is to use pip: `pip install CMake-Class-Creator`

**Please note** that this module depends on a release candidate version op pyparsing, 3.0.0b1. So it is also recommended to install this in a virtual environment.

Optionally you can alias this command: `alias cmcc=cmake_create_class`


## Easy insertion using references
There are (too many) ways to specify source files for CMake. Usually the sources are list variables defined with the `set` keyword. Sometimes the sources are defined directly in `add_library` or `add_executable`. In modern CMake there is also a `target_sources` statement. 

So, you want to insert a new class, CMake Class Creator somehow must know how to insert it. The easiest way is to define a reference class. 

## Adding a class using a reference class
Suppose you want to insert a new class 'NewClass' next to 'ExistingClass':

`$>cmcc <cmakelists> NewClass -rc ExistingClass`

Executing this command will dump the updated cmakelists content to stdout, here you can check if the result is what you expect it to be.

When you approve of the changes, run the same command again with the `-i` option:

`$>cmcc <cmakelists> NewClass -rc ExistingClass -i`

Now the file contents of the cmakelists are updated. Your new class has been inserted!

## Adding a single file using a reference file
It is also possible to add a single file using the `-s` option.

When you want to make a header only class for instance:

`$>cmcc <cmakelists> New.hpp -s -rc Existing.hpp`

**Note** that since we're dealing with single files, specifying the complete filename including the extension is required. But it is **not** required to specify the full path. In this example, `Existing.hpp` may be defined as `<path>/Existing.hpp` or just `Existing.hpp`. In case there is a path prefix, this will also be used for `New.hpp`.

When you approve of the changes, run the same command again with the `-i` option:

`$>cmcc <cmakelists> New.hpp -s -rc Existing.hpp -i`

Now the file contents of the cmakelists are updated. Your new file has been inserted!