semvec/pypi-packages huggingface dataset:
eit_django_utils 0.4.4
django utils for eit
Requires Python: >=3.6

=============================
EIT Django Utils
=============================

Convenient utils for EIT Django dev

Documentation
-------------

Quickstart
----------

Install EIT Django Utils::

    pip install eit_django_utils

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django-hijack',
        'eit_django_utils',
        ...
    )

Add EIT Django Utils's URL patterns:

.. code-block:: python

    from eit_django_utils import urls as eit_django_utils_urls


    urlpatterns = [
        ...
        path("eit_utils/", include(eit_django_utils_urls, namespace="eit_django_utils")),
        ...
    ]

Using with Django 2.2+ settings.py:

  .. code-block:: python

    MIDDLEWARE = [
      ...
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      # SetLocalDevShibUID is only for local development!
      'eit_django_utils.backends.custom_auth.SetLocalDevShibUID',
      'eit_django_utils.backends.custom_auth.CustomHijackMiddleware',
      'eit_django_utils.backends.custom_auth.ShibAffiliationRequiredMiddleware',
      'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
      ...
    ]

    AUTHENTICATION_BACKENDS = (
    'eit_django_utils.backends.custom_auth.CustomRemoteUserBackend',
    )

    LOCALDEV_SHIB_UID = 'desired_unity_id'
python3-rocksdb 0.6.9
Python bindings for RocksDB
Requires Python: >=3.8

|conda-badge|

.. |conda-badge| image:: https://anaconda.org/conda-forge/python-rocksdb/badges/installer/conda.svg
   :target: https://anaconda.org/conda-forge/python-rocksdb

Note
=========
The original pyrocksdb (https://pypi.python.org/pypi/pyrocksdb/0.4) has not been updated for long time. I update pyrocksdb to support the latest rocksdb. Please open issues in github if you have any problem.

News (2019/04/18)
=========
Currently I am refactoring the code, and more features like TTL are coming soon. And the installation with cmake will be much more easily. 

News (2019/04/19)
=========
I have created a new branch(https://github.com/twmht/python-rocksdb/tree/pybind11) which provides the basic functions (`put`, `get` and `delete`) now. And the installtion is much more easily!  you can try it if you encounter any installtion issues in the current version of `python-rocksdb`.

The branch is under development and will be released to PypI after I migrate most of the existing features.

pyrocksdb
=========

Python bindings for RocksDB.
See http://python-rocksdb.readthedocs.io/en/latest/ for a more comprehensive install and usage description.


Quick Install
-------------

Quick install for debian/ubuntu like linux distributions.

.. code-block:: bash

    $ apt-get install build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev
    $ git clone https://github.com/facebook/rocksdb.git
    $ cd rocksdb
    $ mkdir build && cd build
    $ cmake ..
    $ make
    $ cd ..
    $ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}${CPLUS_INCLUDE_PATH:+:}`pwd`/include/
    $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}`pwd`/build/
    $ export LIBRARY_PATH=${LIBRARY_PATH}${LIBRARY_PATH:+:}`pwd`/build/

    $ apt-get install python-virtualenv python-dev
    $ virtualenv pyrocks_test
    $ cd pyrocks_test
    $ . bin/active
    $ pip install python-rocksdb


Quick Usage Guide
-----------------

.. code-block:: pycon

    >>> import rocksdb
    >>> db = rocksdb.DB("test.db", rocksdb.Options(create_if_missing=True))
    >>> db.put(b'a', b'data')
    >>> print db.get(b'a')
    b'data'
pdf-translation-api 0.1.3
Utility to translate PDF files using Google Cloud Translate API
Requires Python: >=3.8
Keywords: api,cloud,google,pdf,translation

# PDF Translation API

Easily translate PDF documents using the Google Cloud Translation API.

[![PyPI - Version](https://img.shields.io/pypi/v/pdf-translation-api.svg)](https://pypi.org/project/pdf-translation-api)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pdf-translation-api.svg)](https://pypi.org/project/pdf-translation-api)

---

## Installation and Usage

```console
pip install pdf-translation-api
```

Make sure to set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable
to the path of your service account key file.
Check the [Google Cloud Translation API documentation](https://cloud.google.com/translate/docs/setup) for more information.

```python
from pdf_translation_api import translate_document

output_path = translate_document(
    path="path/to/your/document.pdf",
    target_lang="nl",
)
print(output_path)
>>> path/to/your/document.nl.pdf
```

> [!WARNING]  
> Google Cloud Translation API charges for usage. Make sure to check the [pricing](https://cloud.google.com/translate/pricing) before using this library.

## Upcoming Features

- [ ] Support for files with more than 20 pages

## License

`pdf-translation-api` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.