semvec/pypi-packages huggingface dataset:
powerline-xcodeversion 1.0.0
A Powerline segment for showing the active version of Xcode
License: MIT
Keywords: powerline status prompt xcode version

# ��️▶️ Powerline Xcode Version Segment

Powerline status prompt segment which displays the active version of Xcode.

[![PyPI version](https://badge.fury.io/py/powerline-xcodeversion.svg)](https://badge.fury.io/py/powerline-xcodeversion)

# ���� Usage

Add the `xcodeversion` snippet below to your powerline theme JSON file.

```diff
{
    "segments": {
        "left": [
+            {
+                "function": "powerline_xcodeversion.xcodeversion",
+                "priority": 60
+            },
            ...
```

## �� Configuration

The spacing and symbol in the xcodeversion section can be customized (or removed).
Add the following to your main
[`powerline/config.json`](https://powerline.readthedocs.io/en/master/configuration.html)
file:

```diff
{
    "segment_data": {
+        "xcodeversion": {
+            "args": {
+                "format": "��  {}"
+            }
+        },
        ...
```

The example above shows the default format.
The `{}` will be replaced with the version number.

�� Remember to kill the powerline daemon with `powerline-daemon -k`
so that your changes will show up immediately while you test configuration changes.

# �� License

This repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations.
lumapps-sdk-fork-poetry 0.2.2
Lumapps SDK for Python
License: MIT
Requires Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
Keywords: lumapps sdk

**Lumapps SDK**
===============

.. image:: https://circleci.com/gh/lumapps/lumapps-sdk.svg?style=svg
    :target: https://circleci.com/gh/lumapps/lumapps-sdk

.. image:: https://black.readthedocs.io/en/stable/_static/license.svg
    :target: https://github.com/lumapps/lumapps-sdk/blob/master/LICENSE.rst
    :alt: License: MIT

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black
    :alt: Black style


*Please be aware the this sdk is still in beta version (0.1) and is undergoing a fast paced evolution that may break change the behaviour of some helpers*

*Make sure of the version you are using (Git tags & releases)*

----

Lumapps SDK is a set of tools to manipulate the `Lumapps API <https://api.lumapps.com/docs/start>`_.

This includes: 

- a client that support all the routes of the API (located in folder lumapps_api_client)
- a set of helper classes to easily manipulate Lumapps elements as Python Objects and classes (folder lumapps_api_helpers)


Quick start
===========

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

``$ pip install lumapps-sdk``


Get your token
--------------

Lumapps supports multiple ways of authentification.
The fastest one to implement is the following:

Get your token by logging to your Lumapps account.
Go to `https://sites.lumapps.com <https://sites.lumapps.com>`_ and authentificate.
Once connected, open the javascript console of your browser and run:

.. code-block:: javascript

    var instance = window.location.pathname.split('/');
    instance = instance[instance.length-2];
    fetch(window.location.origin+"/service/init?customerHost="+window.location.host+"&instanceSlug="+instance+"&slug=").then(data=>{return data.json()}).then(res => {console.log(res.token)})


This will generate your personal Lumapps token that will be active for 60 minutes, and that we will use in the following steps

Authentificate
--------------

.. code-block:: python

    from lumapps.client import ApiClient
    token = "MY TOKEN"
    api = ApiClient(token=token)

Your first API call
~~~~~~~~~~~~~~~~~~~

Let's display the full name of a registered user in lumapps

.. code-block:: python

    user_email = "YOUR EMAIL"
    usr = api.get_call("user", "get", email=user_email)
    print("Hello {}".format(usr.get("fullName", "")))



Documentation
=============

The SDK documentation is available `here <https://lumapps.github.io/lumapps-sdk>`_.

Code convention
---------------

Docstring in PEP 484 type annotations format adapted to python 2.7 using comments.

How to get help, contribute, or provide feedback
================================================

Please refer to our `contributing guidelines <https://lumapps.github.io/lumapps-sdk/contributing.html#contributing-to-code>`_.

Copyright and license
=====================

Lumapps SDK is licensed under A MIT license - see the `LICENSE.rst <LICENSE.RST>`_ file.