semvec/pypi-packages huggingface dataset:
adxl345 1.0.4
Python module to use ADXL345.
License: MIT

ADXL345
=======

Python module to use ADXL345. Compatible with Python 2 and Python 3.

Based on [pimoroni/adxl345-python](https://github.com/pimoroni/adxl345-python).


## Install

Install it as a dependency using pip:

``` bash
pip install adxl345
```


## Usage

- Import module and instantiate an ADXL345

``` python
from adxl345 import ADXL345


adxl345 = ADXL345()
```

- Get 3-axis accelerations in m.s-²

``` python
axes = adxl345.get_axes()

# Returns something like:
# axes['x'] => -0.1614
# axes['y'] =>  0.0691
# axes['z'] =>  9.8064
```

- Get 3-axis accelerations in g (Earth gravity)

``` python
axes = adxl345.get_axes(True)

# Returns something like:
# axes['x'] => -0.0014
# axes['y'] =>  0.0001
# axes['z'] =>  1.0012
```

- Use another IC2 address

By default, this library uses the `0x53` I2C address.

To use another address, set it when creating an instance of ADXL345:

``` python
adxl345 = ADXL345(0x1D)
```


## Full example

``` python
from adxl345 import ADXL345


adxl345 = ADXL345()

axes = adxl345.get_axes(True)

# Returns something like:
# axes['x'] => -0.0014
# axes['y'] =>  0.0001
# axes['z'] =>  1.0012
```


## License

This project is under [MIT](LICENSE) license.
post-review 1.3.0
unified command line interface for posting code reviews and merge requests
License: MIT
Requires Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,<4
Keywords: git devops review

===========
post-review
===========

.. image:: https://travis-ci.org/ericforbes/post-review.svg?branch=develop
   :target: https://travis-ci.org/ericforbes/post-review
   :alt: Build Status


This package provides a command line interface for posting code reviews and merge requests

The post-review package works on Python versions:

* 2.7.x and greater
* 3.3.x and greater


The post-review package works with these services:

* GitHub Hosted
* GitLab Hosted
* GitLab CE, EES, EEP


------------
Installation
------------

The easiest way to install post-review is to use `pip <https://pip.pypa.io/en/latest/installing/>`_::

    $ pip install post-review


If you already have post-review installed and want to upgrade to the latest version::

    $ pip install --upgrade post-review



---------------
Getting Started
---------------

post-review is able to determine your git service automatically. There is a one-time setup 
that is required to fetch your git service API keys -- but post-review will instruct you at this
step.

The quickest way to get started is to just run the ``post-review`` command::

    $ post-review --target <target_branch>


Assuming you are using GitLab Hosted, this is what you will see for your one time setup::

    $ post-review --target <target_branch>

    (One Time Setup) Please create a Personal Access Token
    https://gitlab.com/profile/personal_access_tokens
    Scope: API, Expires: Never

    Please enter your Personal Access Token: <paste_your_token_here>

The above requires you to navigate to the GitLab link to create an access token.
You will need to use the API scope and make sure that it does not expire -- or can rotate too.
This allows grants permission for post-review to create a merge request.