semvec/pypi-packages huggingface dataset:
sphinxcontrib-redirects 0.2.0
Sphinx extension to generate JavaScript-driven redirects for moved pages
Requires Python: >=3.9
Keywords: sphinx

=======================
sphinxcontrib-redirects
=======================

This contrib extension, `sphinxcontrib.redirects`, provides a Sphinx extension
for generating JavaScript-driven redirects for moved pages. It currently only
supports the `html` builder (``sphinx.builders.html.SingleFileHTMLBuilder``).

.. note::

    The `sphinxext-rediraffe <https://pypi.org/project/sphinxext-rediraffe/>`__
    extension appears to provide many more features than this package and
    should probably be preferred for new projects.

Usage
-----

To enable the extension, you should add it to your ``conf.py`` file::

    extensions = [
        'sphinxcontrib.redirects',
        ...
    ]

The extension relies on a *redirect file*. This defaults to ``redirects``
within the source directory but it can be overridden. To override this value,
add the following to your ``conf.py`` file::

    redirects_file = '<path to redirects file>'

The *redirect file* is a simple space-separated file of ``old_path`` -
``new_path`` pairs. These paths are relative to the source directory and should
include their extension. For example, if you renamed the file ``test.rst`` to
``testing.rst`` then you could write::

    test.rst testing.rst

This works for files moved between directories too. If you moved a ``test.rst``
to ``testing/index.rst`` instead, then you could write::

    test.rst testing/index.rst

For examples, refer to the samples used in the `tests
<tests/roots>`__.

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

For information on contributing, refer to the `contributing guide
<CONTRIBUTING.rst>`__.
integrationos-authkit 1.2.0
Secure token generation for IntegrationOS AuthKit in Python
Requires Python: >=3.6

# IntegrationOS AuthKit SDK for Python

Secure token generation for [IntegrationOS AuthKit](https://docs.integrationos.com/docs/authkit) using [PyPI](https://pypi.org/).

## Installation

You can install the IntegrationOS AuthKit SDK using pip:

```
pip install integrationos-authkit
```

## Usage

Here's a quick example of how to use the SDK:

```python
from integrationos import AuthKitToken

@app.route('/authkit-token', methods=['POST'])
def create():
    authKitToken = AuthKitToken("sk_live_12345")
    token = authKitToken.create()

    return token
```

You'll want to switch out the API Key for your own, which will later tell your frontend which integrations you'd like to make available to your users.

If you pass an `identity` or `identityType` (`user`, `team`, or `organization`), you'll be able to query for all connections scoped to that identity. 
The identity is used to generate the unique [Connection Key](https://docs.integrationos.com/docs/setup) for the user once they successfully connect an account.

## Full Documentation

Please refer to the official [IntegrationOS AuthKit](https://docs.integrationos.com/docs/authkit) docs for a more holistic understanding of IntegrationOS AuthKit.
PanchIDE 0.2.0
Por si necesitas un IDE sin necesidad de permisos

# PanchIDE

VERSION 0.2.0

Por si necesitas un IDE simple sin necesidad de permisos elevados.
solo debes importar la libreria y ejecutar el archivo sin poner mas codigo para visualizar el IDE

## InstalaciÃ³n

Puedes instalar este paquete usando pip:

```bash
pip install PanchIDE
ansqlite 0.4.2
Helper module for simple sqlite3 use cases
Requires Python: >=3.7

# ansqlite

A python3 module to assist in small sqlite3 database use cases.

## Install

```shell
python3 -m pip install ansqlite
```

## Usage

```python
from ansqlite import Database, Datatype, PrimaryKeyType, TableColumn

tablename = 'tablename'
 
db = Database(
    database_path='/path/to/database/file.db',
    schemas={
        tablename: [
            TableColumn(
                name="timestamp",
                datatype=Datatype.INTEGER,
                primary_key=PrimaryKeyType.Descending
            ),
            TableColumn(
                name="value",
                datatype=Datatype.REAL
            ),            
        ],
        'othertablename': [
            TableColumn(
                name="hash",
                datatype=Datatype.TEXT,
            ),
            TableColumn(
                name="text",
                datatype=Datatype.TEXT
            ),            
        ],
        'anothertablename': [
            TableColumn(
                name="id",
                datatype=Datatype.INTEGER,
                primary_key=PrimaryKeyType.Autoincrementing
            ),
            TableColumn(
                name="text",
                datatype=Datatype.TEXT
            ),            
        ],            
    }
)

db.insert_data(
    table_name=tablename,
    data=[
        {'timestamp': 1699304400, 'value': 4.496},
        {'timestamp': 1699300800, 'value': 6.812},
        {'timestamp': 1699297200, 'value': 7.847},
        {'timestamp': 1699293600, 'value': 9.548}
    ]
)

db.execute_and_commit(
    sql=f'UPDATE {tablename} SET value=1.00 WHERE timestamp=1699300800;',
    errmsg='Failed to set value'
)

rows = db.execute_and_fetchall(
    sql=f'SELECT * FROM {tablename} where timestamp >= 1699297200 and timestamp < 1699304400 limit 10;',
    errmsg='Failed to retrieve data',
    result_model=db.get_model(tablename),
  )

print(rows)
```