semvec/pypi-packages huggingface dataset:
rab_the_bit 0.0.93
A wrapper around Kombu to use RabbitMQ, specialy on docker images
License: MIT
Requires Python: <4.0.0,>=3.8.1

rab_the_bit
===================================

A wrapper around Kombu to use RabbitMQ, specially on docker images

Started on 2023-08-18


Features (Optional)
--------------------

- List some features
- From this repository

Installation
------------
To install rab_the_bit, follow these steps:

    1. Clone the repository: ``git clone https://github.com/vliz-be-opsci/py-rabbit.git``
    2. Navigate to the project directory: ``cd rab_the_bit``
    3. Install the required dependencies: ``make init``
    4. (Optional) Install additional dependencies for development: ``make init-dev``

Usage
-----
Here's an example of how to use rab_the_bit:

.. code-block:: python

    import rab_the_bit

    # Implement a code example



For more detailed information on the usage of rab_the_bit, refer to the `official documentation <https://open-science.vliz.be/rab_the_bit/>`.



Contributing
------------

We welcome contributions from the community to enhance rab_the_bit. If you'd like to contribute, please follow these guidelines:

    1. Fork the repository and create a new branch for your feature or bug fix.
    2. Make your changes and ensure that the code adheres to the project's coding style.
    3. Write unit tests to cover your changes and ensure they pass.
    4. Submit a pull request with a clear description of your changes and the problem they solve.

For more information on contributing to Pykg2tbl, please refer to the `contribution guidelines </CONTRIBUTING.rst>`.


Getting Started
---------------
Start using this project with poetry


.. code-block:: bash

    $ make init       # install dependencies
    $ make init-dev   # includes the previous + adds dependencies for developers

Build Docs

.. code-block:: bash

    $ make docs


Developers
----------

Run Tests

.. code-block:: bash

    $ make test                                                   # to run all tests
    $ PYTEST_LOGCONF=debug-logconf.yml python tests/test_demo.py  # to run a specific test with specific logging
    $ make test-coverage                                          # to run all tests and check the test coverage


Check the code-style and syntax (flake8, black, isort)

.. code-block:: bash

    $ make check
reapit-cdk.entra-id-application 0.1.0
This construct creates and manages a Microsoft Entra ID Application
License: MIT
Requires Python: ~=3.8

# @reapit-cdk/entra-id-application

![npm version](https://img.shields.io/npm/v/@reapit-cdk/entra-id-application)
![npm downloads](https://img.shields.io/npm/dm/@reapit-cdk/entra-id-application)
![coverage: 0%25](https://img.shields.io/badge/coverage-0%25-red)
![Integ Tests: X](https://img.shields.io/badge/Integ%20Tests-X-red)

This construct creates and manages a Microsoft Entra ID Application

## Package Installation:

```sh
yarn add --dev @reapit-cdk/entra-id-application
# or
npm install @reapit-cdk/entra-id-application --save-dev
```

## Usage

```python
import { CfnOutput, Stack, App, Duration } from 'aws-cdk-lib'
import { EntraIDApplication } from '@reapit-cdk/entra-id-application'
import { Secret } from 'aws-cdk-lib/aws-secretsmanager'

const app = new App()
const stack = new Stack(app, 'stack-name')
const entraApp = new EntraIDApplication(stack, 'entra-id-app', {
  /**
   * 1. Create an application in Entra ID with scopes:
   *  - Application.ReadWrite.All
   * 2. Create a client secret which lasts a day
   * 3. Run the setup script and follow the instructions from there.
   * (Clone the repo
   *  run yarn
   *  cd packages/constructs/entra-id-application
   *  yarn setup
   *    --clientId <client id aka app id>
   *    --clientSecret <client secret value>
   *    --tenantId <your tenant id>
   *    --keyId <secret id>
   * )
   */
  bootstrapClientSecret: Secret.fromSecretCompleteArn(stack, 'bootstrap-client-secret', 'bootstrap-client-secret-arn'),
  config: {
    displayName: 'My Application',
    requiredResourceAccess: [
      {
        resourceAppId: '00000003-0000-0000-c000-000000000000', // microsoft graph
        resourceAccess: [
          {
            id: '14dad69e-099b-42c9-810b-d002981feec1', // user: profile
            type: 'Scope',
          },
          {
            id: '37f7f235-527c-4136-accd-4a02d197296e', // user: openid
            type: 'Scope',
          },
          {
            id: '64a6cdd6-aab1-4aaf-94b8-3cc8405e90d0', // user: email
            type: 'Scope',
          },
        ],
      },
    ],
    web: {
      redirectUris: ['https://example.org'],
    },
  },
})

const { secret } = entraApp.createKey(stack, 'key', {
  keyInfo: {
    displayName: 'api',
  },
  validFor: Duration.days(31),
})

new CfnOutput(stack, 'appId', {
  value: entraApp.getAttString('appId'),
})

new CfnOutput(stack, 'client-secret-arn', {
  value: secret.secretArn,
})

// This is the client secret (don't do this)
new CfnOutput(stack, 'client-secret-secretText', {
  value: secret.secretValueFromJson('secretText').toString(),
})
```
pyglass-api 0.3.0
python wrapper for /dev-ptera/spyglass-api
License: MIT
Requires Python: <4.0,>=3.11

# python wrapper for [spyglass-api](https://github.com/dev-ptera/spyglass-api)

```console
pip install pyglass-api
```

```python
from pyglass import PyglassClient

client = PyglassClient() # or PyglassClient("https://api.spyglass.eule.wtf/banano")
acc = client.account.get_overview("ban_1hootubxy68fhhrctjmaias148tz91tsse3pq1pgmfedsm3cubhobuihqnxd")
print(acc.balance)
```