semvec/pypi-packages huggingface dataset:
electricdb-cli 0.0.4
ElectricDB command line interface utility.
License: MIT
Requires Python: >=3.5

|Status| |License| |CircleCI|

ElectricDB CLI
==============

The ElectricDB CLI is the command line interface utility for the
`ElectricDB <https://electricdb.net>`__ geo-distributed database hosting
service. It’s developed in Python and the code is published under the
`MIT
License <https://github.com/electricdb/electric-cli/blob/master/LICENSE>`__
at
`github.com/electricdb/electric-cli <https://github.com/electricdb/electric-cli>`__.

Develop
-------

You can install the CLI for local development by installing the
dependencies into a Python3 environment and developing the egg:

.. code:: sh

   pip install -r requirements.txt
   python setup.py develop

This will install a ``electric`` binary in your local Python
environment’s bin folder. You can check that this is on your path with
e.g.:

.. code:: sh

   which electric

Build
-----

If you want to build standalone binaries, you first need to install the
extra development requirements:

.. code:: sh

   pip install -r dev-requirements.txt

Then you can build a `Pex <https://pex.readthedocs.io>`__ executable
using:

.. code:: sh

   python setup.py bdist_pex --bdist-all

This will create a ``./dist/electric`` binary which you can copy and run
anywhere on your system.

Alternatively, you can build a standalone binary with an embedded Python
interpretor using `PyOxidizer <https://pyoxidizer.readthedocs.io>`__:

.. code:: sh

   pyoxidizer run

This will create a binary at ``./build/:target/debug/install/electric``
that you can run on any machine with the same architecture and OS as
your build machine.

Usage
-----

Run the ``electric`` command without arguments or with the ``--help``
flag for usage information:

.. code:: sh

   electric --help

You can drill down into usage information for the resources / command
groups and for individual commands, e.g.:

.. code:: sh

   electric auth --help
   electric auth login --help

Further `documentation is available on the ElectricDB
website <https://electricdb.net/docs>`__.

Test
----

Running the tests requires ``nose`` and ``coverage``, included in the
``dev-requirements.txt``.

Then, run e.g.:

.. code:: sh

   nosetests --with-coverage --cover-package electric

.. |Status| image:: https://img.shields.io/badge/status-alpha-red.svg
.. |License| image:: https://img.shields.io/badge/license-MIT-green.svg
   :target: LICENSE.md
.. |CircleCI| image:: https://circleci.com/gh/electricdb/electric-cli/tree/main.svg?style=shield&circle-token=67d43361b7c2aa039a0eef39d3617a9f481e54c5
   :target: https://circleci.com/gh/electricdb/electric-cli/tree/main
PyWiW 0.1.2
A When I Work API Python wrapper
License: MIT

# PyWiW

PyWiW is a Python wrapper library for the WhenIWork API built to simplify requests to the WhenIWork platform. 

## Installation

From GitHub :

```
$ pip install git+https://github.com/bannour-stuart/PyWiW
```

## Prerequisites

* Python 3.7
* A WhenIWork account and API token. Find out how to get your account's token on https://apidocs.wheniwork.com/external/index.html#section/Authentication

## How to set up

```
from PyWiW import WiW

key = '<API_token>'

account = WiW(token = key)
# Set child account user_ID with which you'd like to interact with
account.user_id = '<W-UserID>'
```

## API Official Doc 

* [When I Work API Doc](https://apidocs.wheniwork.com/external/index.html)