Skip to main content

Publish to netlify

Project description

Netlify deploy

This is used for publishing static files

Publish static files easily using the deploy() function

from netlify_publish.publish import deploy
deploy("/tmp/*.html", "domain.netlify.com", "<personal_access_token>", 
		temp_zip_path="/temp/temp.zip")
  • personal_access_token: you can get it from here
  • temp_zip_path: is optional

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

netlify_publish-0.0.3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

netlify_publish-0.0.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file netlify_publish-0.0.3.tar.gz.

File metadata

  • Download URL: netlify_publish-0.0.3.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for netlify_publish-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f6bdfea02541032ff332c64207d16da2743092de28e8c0c1ef8936b9be8c2279
MD5 2b5b43a8c41140b95aa66f7af997932c
BLAKE2b-256 98cd94386d49fbfa6b570d7be4c6866df464bedd957a2f414bd8f6ed96a026d9

See more details on using hashes here.

File details

Details for the file netlify_publish-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: netlify_publish-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for netlify_publish-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af966ea30d37f25f3d540bfa2ba69a50fb8d4c3c1026d504c230de431e9854dc
MD5 c94230e17f1185840b61cedb2238c620
BLAKE2b-256 2876a6434c412732f3a8b713e57fd77ec035ac428a1833d2204e7fa174ad74e7

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