Skip to main content

A package for rendering file securely

Project description

SecureFileRendering

Installing

Install and update using pip:

$ pip install SecureFileRendering

A Simple Example

from SecureFileRendering import SecureFileRendering

app = Flask(__name__)
app.config['SECURE_ROUTE_STRING'] = "/test"
sfr = SecureFileRendering(app)


@app.route("/download")
def test():
	path = "<path_of_the_file>"
	return sfr.securely_render_file(path)

if __name__ == '__main__':
	app.run()

Dependencies

  • Flask-Session
  • Flask

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

securefilerendering-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SecureFileRendering-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file securefilerendering-0.0.1.tar.gz.

File metadata

  • Download URL: securefilerendering-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for securefilerendering-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0f45b6ec3490dde20c5ead39dd97fe4d324b19512d79fcfd1ccab53cb9ae97f2
MD5 494d1ca440290f2fd34ec077f35bace7
BLAKE2b-256 b104e74bcd8c225a63a663630ce083a92cfb341f541f3559c2b2efb574887399

See more details on using hashes here.

File details

Details for the file SecureFileRendering-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for SecureFileRendering-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d1b75d27722fde7c6eef551a45d0cb8c6f9f8a68097e30105d29d0905ebd352
MD5 7723239e338b8a66578b8ed7bba5f5b9
BLAKE2b-256 79dc194e9759d5e8a9eff9f32f202ad8e445115d049e7cf654b0e3836383ea49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page