Skip to main content

Pyuploadcare-Sqlalchemy

Latest PyPI version Build status

Custom fields types for SqlAlchemy which integrated with Uploadcare service.

Installation

$ pip install pyuploadcare-sqlalchemy

Usage

This package similar to pyuploadcare.dj but for Sqlalchemy instead of Django’s ORM. It stores Uploadcare CDN links on database’s side and builds a object of File (or FileGroup) on python’s side (e.g you can easily use it in yours templates).

Fields types:

  • FileType

  • FileGroupType

  • ImageType - Provides syntax sugar when working with images - effects - you can set default effects according by CDN API which will be applied to uploaded image.

Also for getting started you can look at this simplest example.

For install it use a command:

$ make run_example

Contributing

  1. Fork the pyuploadcare-sqlalchemy repo on GitHub.

  2. Clone your fork locally:

$ git clone git@github.com:your_name_here/pyuploadcare-sqlalchemy.git
  1. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:

$ mkvirtualenv pyuploadcare-sqlalchemy
$ cd pyuploadcare-sqlalchemy/
$ python setup.py develop
  1. Create a branch for local development:

 $ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.
  1. When you’re done making changes, check that your changes pass the tests, including testing other Python versions with tox:

$ pip install tox
$ tox
  1. Commit your changes and push your branch to GitHub:

$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
  1. Submit a pull request through the GitHub website.

Metadata

Release files for pyuploadcare-sqlalchemy 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyuploadcare-sqlalchemy 0.5
File Size Uploaded Provenance Actions
pyuploadcare-sqlalchemy-0.5.tar.gz 4.3 kB Without provenance Details for pyuploadcare-sqlalchemy-0.5.tar.gz

Release files / pyuploadcare-sqlalchemy-0.5.tar.gz

Download URL pyuploadcare-sqlalchemy-0.5.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
20a006318756c04818c7a994ed4cf7eb1baff529728b54b0968c04f8cf725bae
BLAKE2b-256 checksum
How to use checksums
478aa84cb2b13f3555e3c243fa19ac379f2bec36ed0326007ab8cd81bbece7bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyuploadcare-sqlalchemy 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page