PyMagic is a pure Python wrapper around libmagic
Project description
PyMagic
Local
export PYTHONPATH=/path/to/pymagic:$PYTHONPATH
Docker
- Buid local development docker image
bash development.sh
- Run development image with local source
sudo docker run \
-it \
--name pymagic --rm \
-p 5000:5000 \
-v /home/ermiry/Documents/Work/magic/pymagic:/home/pymagic \
-e RUNTIME=development \
-e PORT=5000 \
-e CERVER_RECEIVE_BUFFER_SIZE=4096 -e CERVER_TH_THREADS=4 \
-e CERVER_CONNECTION_QUEUE=4 \
ermiry/pymagic:development /bin/bash
- Handle pymagic module
export PYTHONPATH=$pwd:$PYTHONPATH
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymagico-0.2.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymagico-0.2.tar.gz.
File metadata
- Download URL: pymagico-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a136e69f88f8c3e50f3b2c1614bf09eb0f167790119ce513dccba0d7c2d5762a
|
|
| MD5 |
c3df0d9068a50bff288b5288f643fd05
|
|
| BLAKE2b-256 |
7c2b41e22bbc7f38f9d19b633e9ec5a49c31a5cb03c40cd82cf19884498b24f9
|
File details
Details for the file pymagico-0.2-py3-none-any.whl.
File metadata
- Download URL: pymagico-0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce481962e0b31df1b53f22e4bed17d45416bf082b9614e4f8b44076798e75909
|
|
| MD5 |
cf6904770e3105498110d26b9d7ac443
|
|
| BLAKE2b-256 |
c760ba75deef859f386176e8f67614eb3d3e0f7fd7d29415dbf125b9a2ad159b
|