Skip to main content

instant2fa

Instant2FA Python bindings.

Installation

Install it via PyPI:

pip install instant2fa

Usage

import instant2fa

instant2fa.access_key = 'YOUR_ACCESS_KEY'
instant2fa.access_secret = 'YOUR_ACCESS_SECRET'

distinct_id = 'A_UNIQUE_ID_FOR_A_USER'

hosted_page_url = instant2fa.create_settings(distinct_id)
hosted_page_url = instant2fa.create_verification(distinct_id)
verification_succeeded = instant2fa.confirm_verification(distinct_id, token)

Development

To start development, run:

$ git clone git@github.com:clef/instant2fa-python.git instant2fa
$ cd instant2fa
$ make develop

History

1.0.0

  • First release on PyPI.

1.0.1

  • Validate distinct_id parameter has a value.

Metadata

Release files for instant2fa 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instant2fa 1.0.1
File Size Uploaded Provenance Actions
instant2fa-1.0.1.tar.gz 11.5 kB Without provenance Details for instant2fa-1.0.1.tar.gz

Release files / instant2fa-1.0.1.tar.gz

Download URL instant2fa-1.0.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2e5cba042190c4f7be785fd4e1d1587e26220539905a3bab84baaa5bec24ad44
BLAKE2b-256 checksum
How to use checksums
18b8bb13242749a58a50090d52b5edb11a6819d1ac3e6c99c7325ad97f33e84e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for instant2fa 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page