semvec/pypi-packages huggingface dataset:
gaql-builder 1.0.2
Generating GAQL tool

# GAQL Builder [![Version][version-badge]][version-link] ![MIT License][license-badge]

Generating GAQL (Google Ads Query Language) tool, this is ***not official library***.
If you want to build GAQL string much easier, you can use this tool, but it would not be validated entirely for all of posible combinations.

Please follow the building rule via [official documentation](https://developers.google.com/google-ads/api/docs/query/overview).

## Requirements

- Python 2.7.13+ / 3.5.3+
- [pip](https://pip.pypa.io/en/stable/installing/)

## Installation

```bash
  $ pip3 install gaql-builder
```

## Project Structure

```
.
├── gaql_builder/                 # Core folder
│   ├── __init__.py
│   └── main.py                   # Core library code
├── tests/                        # Test cases
├── .travis.yml                   # CI configuration
├── setup.py                      # Setup script
├── setup.cfg                     # Setup configuration
├── __init__.py                   # Root init
├── requirements.txt              # Install packages text file
└── README.md                     # Read-me file
```

## Usage

If you want to generate the following query string,

```
SELECT
 campaign.id,
 campaign.name
FROM
 campaign
WHERE
 campaign.resource_name = 'customers/1234567/campaigns/987654'
```

you can use functional call to make it out.

```python
    builder = GAQLBuilder()
    builder.select(['campaign.id', 'campaign.name'])
    builder.resource_from('campaign')
    builder.where("campaign.resource_name = 'customers/1234567/campaigns/987654'")
    builder.to_string()
```

also, you can use `add_where` function to add condition.

```python
    builder = GAQLBuilder()
    builder.select(['campaign.id', 'campaign.name'])
    builder.resource_from('campaign')
    builder.add_where(
        field='campaign.resource_name',
        operator='=',
        value="'customers/1234567/campaigns/987654'"
    )
```

### License

[MIT](https://github.com/yo8568/gaql-builder/blob/master/LICENSE)

[version-badge]:   https://img.shields.io/badge/version-1-brightgreen.svg
[version-link]:    https://pypi.python.org/pypi/gaql-builder
[license-badge]:   https://img.shields.io/github/license/pythonml/douyin_image.svg
django-emailtools-reloaded 0.2.4
App for Django featuring class based email sending.

==========================
django-emailtools-reloaded
==========================
``django-email-tools`` is a suite of tools meant to assist in sending emails
from your ``Django`` app.

.. image:: https://img.shields.io/pypi/v/django-emailtools-reloaded.svg
   :target: https://pypi.python.org/pypi/django-emailtools-reloaded
   :alt: PyPI Version

.. image:: https://travis-ci.org/barseghyanartur/django-emailtools-reloaded.png
   :target: http://travis-ci.org/barseghyanartur/django-emailtools-reloaded
   :alt: Build Status

.. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg
   :target: https://github.com/barseghyanartur/django-emailtools-reloaded/#License
   :alt: GPL-2.0-only OR LGPL-2.1-or-later

Prerequisites
=============
Python: 2.7, 3.5 and 3.6
Django: 1.8, 1.9, 1.10, 1.11, 2.0, 2.1 and 2.2

Installation
============
1.  Install the package:

    .. code-block:: sh

        pip install django-emailtools-reloaded

2.  Add ``emailtools`` to your ``INSTALLED_APPS``:

    .. code-block:: python

        INSTALLED_APPS = (
            # ...
            'emailtools',
            # ...
        )

Testing
=======
**Test current environment**

.. code-block:: sh

    ./runtests.py

**Test all environments**

.. code-block:: sh

    tox

Authors and maintainers
=======================
- Originally created and maintained at Fusionbox as ``django-emailtools``.
- Re-branded as ``django-emailtools-reloaded`` for better maintainability
  starting from May 2017.

Documentation
=============
See documentation `here <http://django-emailtools-reloaded.readthedocs.io/>`_.