semvec/pypi-packages huggingface dataset:
dbh-pyutils 0.2.0
DBH Utils Python library
License: MIT
Requires Python: >=3.10

# DBH PyUtils

These are Python utilities I'm building out as I traverse the machine learning landscape

## Prerequisites

You'll want to have Python > 3.10 installed

And pip (you gotta have pip intalled ffs)


## To build/install locally

```
cd myprojects
git clone https://github.com/deevis/dbh-pyutils.git
cd dbh-pyutils
python setup.py bdist_wheel
pip install --force-reinstall .\dist\dbh_pyutils-0.1.0-py3-none-any.whl
```

## to deploy to pypi
update version in setup.py
`python setup.py sdist`
`twine upload dist/*`

## Usage

### searchYouTubeAPI and getYouTubeVideoInfo
Require YOUTUBE_API_KEY be set for os.getenv('YOUTUBE_API_KEY') to succeed

### Branches

* main
Flask-Dropzone 2.0.0
Upload files in Flask with Dropzone.js.
License: MIT
Keywords: flask extension development upload

===============
Flask-Dropzone
===============

Flask-Dropzone packages `Dropzone.js
<http://dropzonejs.com>`_ into an extension to add file upload support for Flask.
It can create links to serve Dropzone from a CDN and works with no JavaScript code in your application.

NOTICE: This extension is built for simple usage, if you need more flexibility, please use Dropzone.js directly.

Basic Usage
-----------

Step 1: Initialize the extension:

.. code-block:: python

    from flask_dropzone import Dropzone

    dropzone = Dropzone(app)


Step 2: In your `<head>` section of your base template add the following code::

    <head>
    {{ dropzone.load_css() }}
    </head>
    <body>
    ...
    {{ dropzone.load_js() }}
    </body>

You can assign the version of Dropzone.js through `version` argument, the default value is `5.2.0`.
Step 3: Creating a Drop Zone with `create()`, and configure it with `config()`::

    {{ dropzone.create(action='the_url_which_handle_uploads') }}
    ...
    {{ dropzone.config() }}

Also to edit the action view to yours.

Beautify Dropzone
-----------------

Style it according to your preferences through `style()` method::

    {{ dropzone.style('border: 2px dashed #0087F7; margin: 10%; min-height: 400px;') }}

More Detail
-----------

Go to `Documentation
<https://flask-dropzone.readthedocs.io/en/latest/>`_ , which you can check for more
details.