semvec/pypi-packages huggingface dataset:
oneutil 0.0.4
OneSquared Utilities
Requires Python: >=3.6

# One Squared Utilities

[![PyPI version](https://badge.fury.io/py/oneutil.svg)](https://badge.fury.io/py/oneutil)

oneutil is a Python package that provides useful utilities for work we do at One Squared.

## Installation

To install oneutil, you can get it from PYPI:

```bash
pip install oneutil

```

For testing, you can install it locally via

```bash
python setup.py sdist bdist_wheel
pip install -e . 
```

## Usage

```python
from oneutil.etl.aws import get_s3_bucket_files, get_s3_buckets
from oneutil.etl.databento import get_df_from_s3

# List files in the default S3 bucket in 'us-east-1' region
files = get_s3_bucket_files()

# List all available S3 buckets in 'us-east-1' region
buckets = get_s3_buckets()

# Read a databento file
df = get_df_from_s3(get_s3_bucket_files()[-1])
```

oneutil relies on the AWS SDK (boto3) for interacting with AWS S3. To use the package, make sure you have valid AWS access credentials (access key ID and secret access key) set as environment variables or provide them explicitly when calling the functions.

- `s3_public_key`: The AWS access key ID.
- `s3_private_key`: The AWS secret access key.

If the environment variables are not set, you can pass the credentials directly as arguments to the functions.
flask-script-observable 0.0.6
A flask-script fork
Requires Python: >=3.7

Deprecated
------------

While the maintainers are willing to merge PR's, they are not actively developing features. As of Flask 0.11, Flask includes `a built-in CLI tool`__, and that may fit your needs better.

__ http://flask.pocoo.org/docs/latest/cli/


Flask-Script
==============

.. image:: https://travis-ci.org/smurfix/flask-script.svg?branch=master
    :target: https://travis-ci.org/smurfix/flask-script

.. image:: https://img.shields.io/pypi/v/flask-script.svg
    :target: http://flask-script.readthedocs.org/en/latest/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/flask-script.svg
    :target: https://pypi.python.org/pypi/flask-script/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/l/flask-script.svg
    :target: https://github.com/smurfix/flask-script/blob/master/LICENSE
    :alt: License

A set of utilities for use with the Flask framework which provide
decorators, classes and helpers for writing your own script commands.

Useful for creating command-line scripts, cronjobs etc outside your
web application.


Resources
---------

- `Documentation <http://flask-script.readthedocs.org>`_
- `Issue Tracker <http://github.com/smurfix/flask-script/issues>`_