semvec/pypi-packages huggingface dataset:
dbnd-airflow-export 0.49.6
Machine Learning Orchestration
Keywords: orchestration,data,machinelearning

# Dbnd Airflow Export plugin

## The plugin

`dbnd-airflow-export-plugin` is a plugin for Airflow system, enables you to fetch data from Airflow database and DAG folder.
This Airflow side module is one of two components allows you to observe your Airflow data with `Databand` system.

### What does it do?

The plugin exposes a REST Api within `GET` `/export_data` which, expects `since` (utc).
This api returns json with all the relevant information scraped from airflow system.

### Configuring Airflow instance
To improve performance and reduce the runtime overhead on airflow database, we advise to add an index on end_date column to task_instance and dag_run tables i.e.

```
   CREATE INDEX dbnd_ti_end_date_ind ON task_instance (end_date);
   CREATE INDEX dbnd_dr_end_date_ind ON dag_run (end_date);
```

### Installation

In order to install `dbnd-airflow-export-plugin` we are using Airflow plugin system.

```bash
pip install databand[airflow-export]
```
oneNeuron-pypi-martuzaiu 0.0.2
A simple perceptron program
Requires Python: >=3.7

# oneNeuron_pypi
oneNeuron_pypi

# How to use this
get X and y then follow the below command

```python
from oneNeuron.perceptron import Perceptron
model = Perceptron(eta=eta, epochs=epochs)
model.fit(X,y)
```



# COMMANDS


## Make directory
```bash
mkdir -p src/oneNeuron
```

## Git add commit and push
```bash
git add . && git commit -m "Command added" && git push origin main
```
## Create files
```bash
touch src/oneNeuron/__init__.py
```

# References
[Python Pachaging](https://packaging.python.org/tutorials/packaging-projects/)

[github docs for github actions](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries)
securepay 1.0.0
Interface to the Securepay credit card gateway.
Requires Python: >=3.6

==================
 Python Securepay
==================

SecurePay in an Australian payment gateway provider. This library can be used to
request and refund payment on demand.

Quickstart
-----------

This package can be used as follows:

.. code-block:: python

    import securepay

    MERCHANT_ID = '...'
    PASSWORD = '...'

    # Take a $2 AUD credit card payment.
    try:
        pay_response = securepay.pay_by_cc(
            200, 'PO-1234', '4444333322221111', '11/18',
            securepay.TEST_API_URL, MERCHANT_ID, PASSWORD, 'J. Citizen')
    except securepay.GatewayError as err:
        # Service unavailable. Log err and give customers a generic error.
    except securepay.PaymentError as err:
        # Payment declined. Error message is in err.
    else:
        # Payment successful! Details in pay_response.


    # Refund the payment above in full.
    try:
        refund_response = securepay.refund(
            200, 'PO-1234', pay_response['transaction_id'],
            securepay.TEST_API_URL, MERCHANT_ID, PASSWORD)
    except securepay.GatewayError as err:
        # Service unavailable. Log err and give customers a generic error.
    except securepay.PaymentError as err:
        # Refund declined. Error message is in err.
    else:
        # Refund successful! Details in refund_response.


To run the tests:

.. code-block:: bash

    $ tox


This module doesn't yet provide credit card authorisation transactions (ie.
putting some money on hold for an upcoming payment). If you're interesting in
funding some work to add these features, please get in touch.

Release History
---------------


1.0.0 (2021-09-28)
++++++++++++++++++

 - Require Python 3.6.
 - Switch to setup.cfg.


0.6.0 (2016-10-29)
++++++++++++++++++

**Improvements**

 - Add the optional ``recurring`` field to payment requests (Greg McCoy). Note:
   This does not automate transaction processing. See the ``pay_by_cc`` function
   docstring and SecurePay docs for details.


0.5.7 (2015-08-03)
++++++++++++++++++

**Improvements**

 - Add ``securepay.LIVE_API_URL`` and ``securepay.TEST_API_URL`` so you don't
   have to define them yourself.


0.5.6 (2015-08-03)
++++++++++++++++++

**Bug fixes**

 - Fixed support for Python 2.7.
 - Enabled tests for Python 2.7, 3.3 and 3.4 with Tox