Skip to main content
#imsto-go client in python

## installation

`sudo pip-2.7 install -e .` (recommend)
or
`sudo python setup.py install`

## django settings

`settings.py`:

~~~
DEFAULT_FILE_STORAGE = 'imsto_client.django.ImageStorage'
IMSTO_HOST = 'localhost:8964'
IMSTO_ROOF = 'demo'
IMSTO_URL_PREFIX = '/'
IMSTO_THUMB_PATH = '/thumb'
~~~

`admins`

~~~
from django.contrib import admin
from imsto_client.django.widgets import AdminImageWidget

class GoodsAdmin(admin.ModelAdmin):

def formfield_for_dbfield(self, db_field, **kwargs):
if db_field.name == 'image_path':
request = kwargs.pop("request", None)
kwargs['widget'] = AdminImageWidget
return db_field.formfield(**kwargs)
return super(GoodsAdmin,self).formfield_for_dbfield(db_field, **kwargs)

"""more other methods""

~~~

## nginx configuration

see also: imsto-go/INSTALL.md

Release files for imsto_client 1.0.4

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

Source distribution (sdist)

Source distribution for imsto_client 1.0.4
File Size Uploaded
imsto_client-1.0.4.tar.gz 5.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for imsto_client 1.0.4
File Interpreter ABI Platform
imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz Details
imsto_client-1.0.4-py2.7.egg Legacy Egg format - - Details

Total release size: 29.8 kB

Release files / imsto_client-1.0.4.tar.gz

Download URL imsto_client-1.0.4.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
78a5e24aac866c04e38688e53b43fab5eab220e50a053e7cb3cd6451889b2c60
BLAKE2b-256 checksum
How to use checksums
ff818c7cf2b5e66ca06d99627b6eaa274ecee43dfc64bd7daee5ba2ec66b5d88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz

Download URL imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e5edccccd07f516888078d2dbe74f400bcf88ac52cd27e2dbef044b177541d31
BLAKE2b-256 checksum
How to use checksums
a4813b39d27ea5c4f0753a5a61ddd75e4d7a78ae0e27c55d7ee61ddd8671b08b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / imsto_client-1.0.4-py2.7.egg

Download URL imsto_client-1.0.4-py2.7.egg
Size 13.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
9144c3d188baea22c277275ee66f9a456e622a79bfa2ee7a56d9ba9dd565555a
BLAKE2b-256 checksum
How to use checksums
3766a8f92d8d64db2e8813593809bbeb3b0c6d3917eb53813dff042d98dfe451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.4 This release

3 release files

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