ImServ
Spin an image server, store images from Clipboard in single place, and prevent duplication.
Installation
- Clone the project from GitHub
- Navigate to the project folder and
poetry install - Run a Python script:
from imserv.db import create_all_tables
create_all_tables()
The folder ~/Pictures/imserv will be created, and will be used for storing all images. (Tested only on Mac.)
By default, it uses PostGRESQL of the database named imserv, so you have to initialize the database first, before running the script.
The image folder can also be changed in ImServ(folder=IMG_FOLDER_PATH).
Usage
To run an image server (before running Jupyter Notebook), run in a script:
ImServ().runserver()
This will open the server for the website: http://localhost:8000/, which leads to:
where you can create an image directly from Clipboard. The name of the image will be randomized using UUID.
After that, if you want to use it in Jupyter Notebook:
>>> from imserv import ImServ
>>> ims = ImServ()
>>> ims.last()
'The image accessed last will be shown.'
More screenshots
Related projects
- jupyter-flashcard - Create a database of Jupyter Notebooks and convert them into flashcards.
Metadata
Release files for imserv 0.1.11.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| imserv-0.1.11.4.tar.gz | 10.0 kB | Without provenance | Details for imserv-0.1.11.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imserv-0.1.11.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for imserv-0.1.11.4-py2.py3-none-any.whl |
Total release size: 34.9 kB
Release files / imserv-0.1.11.4.tar.gz
| Download URL | imserv-0.1.11.4.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53015c0d9ffa2d61f5787a9d19d34951b62311fe3bd8c88781441af67ddc8275
|
|
BLAKE2b-256 checksum How to use checksums |
472443a5a52c16fba4aca75846ee6c88acbf19aa83b26d657c54138e57932a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.7.0 Darwin/17.7.0
|
Release files / imserv-0.1.11.4-py2.py3-none-any.whl
| Download URL | imserv-0.1.11.4-py2.py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a2548d632ad196ed2c72fe20c79e249164d5324c41761a428681d3681b868971
|
|
BLAKE2b-256 checksum How to use checksums |
5b14233d4589578ac4ab359aa5e06fef5829ba3b0313ae7727799de31c357f58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.7.0 Darwin/17.7.0
|
Security for imserv 0.1.11.4
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.