semvec/pypi-packages huggingface dataset:
th2-grpc-util 3.1.0
th2_grpc_util
License: Apache License 2.0
Requires Python: >=3.7

# th2 gRPC util library (3.1.0)

This library contains proto messages and `MessageComparator` service with RPC methods that are used in [th2 util](https://github.com/th2-net/th2-util "th2-util"). See [util.proto](src/main/proto/th2_grpc_util/util.proto "util.proto") file for details. <br>
Tool generates code from `.proto` files and uploads built packages (`.proto` files and generated code) to specified repositories.

## How to maintain project
1. Make your changes.
2. Up version of Java package in `gradle.properties` file.
3. Up version of Python package in `package_info.json` file.
4. Commit everything.

## How to run project

### Java
If you wish to manually create and publish a package for Java, run the following command:
```
gradle --no-daemon clean build publish artifactoryPublish \
       -Purl=${URL} \ 
       -Puser=${USER} \
       -Ppassword=${PASSWORD}
```
`URL`, `USER` and `PASSWORD` are parameters for publishing.

### Python
If you wish to manually create and publish a package for Python:
1. Generate services with `Gradle`:
    ```
       gradle --no-daemon clean generateProto
    ```
   You can find the generated files by following path: `src/gen/main/services/python`
2. Generate code from `.proto` files and publish everything using `twine`:
    ```
    pip install -r requirements.txt
    pip install twine
    python setup.py generate
    python setup.py sdist
    twine upload --repository-url ${PYPI_REPOSITORY_URL} --username ${PYPI_USER} --password ${PYPI_PASSWORD} dist/*
    ```
    `PYPI_REPOSITORY_URL`, `PYPI_USER` and `PYPI_PASSWORD` are parameters for publishing.

## Changes

### 3.1.0

+ Up version th2-grpc-common to 3.12.0 (with new grpc)

### 3.0.4

+ Change requirement specifier for Python

### 3.0.3

+ Up version th2-grpc-common to 3.8.0

### 3.0.2

+ Up version th2-grpc-common to 3.4.0

### 3.0.0

+ Migrated to common V3
httpie-nsof 1.7
Nsof OAuth 2 plugin for HTTPie.
License: Apache License 2.0
Keywords: httpie oauth oauth2 nsof token

===========
httpie-nsof
===========

Nsof OAuth 2 plugin for the `HTTPie <https://github.com/jkbr/httpie>`_ command line HTTP client.


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

.. code-block:: bash

    $ pip install httpie-nsof


You should now see ``nsof`` under ``--auth-type`` in ``$ http --help`` output.


Setup
-----

.. code-block:: bash

    $ httpie-nsof-setup
    
    
Configure Nsof's auth plugin with your creds (saved in ~/.httpie/config.json).
The credentials can be either a username/password or API Key ID/API Key Secret

Notes:
    - if username is not provided in conf file it will be searched at HTTPIE_NSOF_USERNAME
    - if password is not provided in conf file it will be searched at HTTPIE_NSOF_PASSWORD
    - manually inputted username/password supersede conf file and environment variables


Usage
-----

.. code-block:: bash

    $ http --auth-type=nsof GET https://api.nsof.io/v1/users
    

It's possible to pass a different effective org using the env ``EORG``:

.. code-block:: bash

    $ EORG=nsof http --auth-type=nsof GET https://api.nsof.io/v1/users