fileshimstem
This is pretty terrible, please don't use it.
Configuration
Config file is fileshimstem.json, it can be where you run the script from, or in ~/.config/fileshimstem.json.
| Option | Type | Default | Description |
|---|---|---|---|
goodpaths |
List[str] |
None |
Needs to be set, is the list of allowed paths for requests. |
port |
int |
8000 | The port the server will listen on. |
host |
str |
127.0.0.1 | The host the server will listen on - 0.0.0.0 allows all IPv4 etc. |
API Docs
Access /docs when running the server, but simply:
GET /{path}
eg: curl http://localhost:8000/e:/Downloads/filename.txt
Gets the file contents.
HEAD /{path}
eg: curl -X HEAD http://localhost:8000/e:/Downloads/filename.txt
Does a stat and returns the details in the headers.
OPTIONS /update
Does a git pull and updates the server configuration.
Metadata
Release files for fileshimstem 0.1.0
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 | |
|---|---|---|---|---|
| fileshimstem-0.1.0.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fileshimstem-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / fileshimstem-0.1.0.tar.gz
| Download URL | fileshimstem-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ace3250de2b404fd69d4e4f792b9c1dd34fca1a210a649c26cb09939d4b8b1ad
|
|
BLAKE2b-256 checksum How to use checksums |
294ba69854ac025eb7cc2eff57fefaf1f3dd8dabe4059df87656148e26eb9f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / fileshimstem-0.1.0-py2.py3-none-any.whl
| Download URL | fileshimstem-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ee6711063a6afeb10739a89ae834ef645e9a3d9fcf42827dd57ae3ca08c725dd
|
|
BLAKE2b-256 checksum How to use checksums |
fd182f7b3f4e2713c1bdad243e73fe161a3bda581e9a9dbf6ad47cd8ee0bc646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for fileshimstem 0.1.0
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.