generated from scaffold-eth/scaffold-eth-2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- new subscription and usage update lambda functions now working. Pla…
…ceholder for ETC smart contract lookup for paid tier by customer - had to include local copy of python request to be able to use it in lambda functions - currently no input sanitation or format verification
- Loading branch information
Showing
187 changed files
with
39,382 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/python3 | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
from charset_normalizer.cli import cli_detect | ||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(cli_detect()) |
1 change: 1 addition & 0 deletions
1
aws/lambda-functions/usage/certifi-2023.7.22.dist-info/INSTALLER
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
21 changes: 21 additions & 0 deletions
21
aws/lambda-functions/usage/certifi-2023.7.22.dist-info/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This package contains a modified version of ca-bundle.crt: | ||
|
||
ca-bundle.crt -- Bundle of CA Root Certificates | ||
|
||
Certificate data from Mozilla as of: Thu Nov 3 19:04:19 2011# | ||
This is a bundle of X.509 certificates of public Certificate Authorities | ||
(CA). These were automatically extracted from Mozilla's root certificates | ||
file (certdata.txt). This file can be found in the mozilla source tree: | ||
https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt | ||
It contains the certificates in PEM format and therefore | ||
can be directly used with curl / libcurl / php_curl, or with | ||
an Apache+mod_ssl webserver for SSL client authentication. | ||
Just configure this file as the SSLCACertificateFile.# | ||
|
||
***** BEGIN LICENSE BLOCK ***** | ||
This Source Code Form is subject to the terms of the Mozilla Public License, | ||
v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain | ||
one at http://mozilla.org/MPL/2.0/. | ||
|
||
***** END LICENSE BLOCK ***** | ||
@(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $ |
69 changes: 69 additions & 0 deletions
69
aws/lambda-functions/usage/certifi-2023.7.22.dist-info/METADATA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
Metadata-Version: 2.1 | ||
Name: certifi | ||
Version: 2023.7.22 | ||
Summary: Python package for providing Mozilla's CA Bundle. | ||
Home-page: https://github.com/certifi/python-certifi | ||
Author: Kenneth Reitz | ||
Author-email: [email protected] | ||
License: MPL-2.0 | ||
Project-URL: Source, https://github.com/certifi/python-certifi | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) | ||
Classifier: Natural Language :: English | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3 :: Only | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Classifier: Programming Language :: Python :: 3.10 | ||
Classifier: Programming Language :: Python :: 3.11 | ||
Requires-Python: >=3.6 | ||
License-File: LICENSE | ||
|
||
Certifi: Python SSL Certificates | ||
================================ | ||
|
||
Certifi provides Mozilla's carefully curated collection of Root Certificates for | ||
validating the trustworthiness of SSL certificates while verifying the identity | ||
of TLS hosts. It has been extracted from the `Requests`_ project. | ||
|
||
Installation | ||
------------ | ||
|
||
``certifi`` is available on PyPI. Simply install it with ``pip``:: | ||
|
||
$ pip install certifi | ||
|
||
Usage | ||
----- | ||
|
||
To reference the installed certificate authority (CA) bundle, you can use the | ||
built-in function:: | ||
|
||
>>> import certifi | ||
|
||
>>> certifi.where() | ||
'/usr/local/lib/python3.7/site-packages/certifi/cacert.pem' | ||
|
||
Or from the command line:: | ||
|
||
$ python -m certifi | ||
/usr/local/lib/python3.7/site-packages/certifi/cacert.pem | ||
|
||
Enjoy! | ||
|
||
.. _`Requests`: https://requests.readthedocs.io/en/master/ | ||
|
||
Addition/Removal of Certificates | ||
-------------------------------- | ||
|
||
Certifi does not support any addition/removal or other modification of the | ||
CA trust store content. This project is intended to provide a reliable and | ||
highly portable root of trust to python deployments. Look to upstream projects | ||
for methods to use alternate trust. | ||
|
||
|
14 changes: 14 additions & 0 deletions
14
aws/lambda-functions/usage/certifi-2023.7.22.dist-info/RECORD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
certifi-2023.7.22.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 | ||
certifi-2023.7.22.dist-info/LICENSE,sha256=oC9sY4-fuE0G93ZMOrCF2K9-2luTwWbaVDEkeQd8b7A,1052 | ||
certifi-2023.7.22.dist-info/METADATA,sha256=oyc8gd32SOVo0IGolt8-bR7FnZ9Z99GoHoGE6ACcvFA,2191 | ||
certifi-2023.7.22.dist-info/RECORD,, | ||
certifi-2023.7.22.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92 | ||
certifi-2023.7.22.dist-info/top_level.txt,sha256=KMu4vUCfsjLrkPbSNdgdekS-pVJzBAJFO__nI8NF6-U,8 | ||
certifi/__init__.py,sha256=L_j-d0kYuA_MzA2_2hraF1ovf6KT6DTquRdV3paQwOk,94 | ||
certifi/__main__.py,sha256=xBBoj905TUWBLRGANOcf7oi6e-3dMP4cEoG9OyMs11g,243 | ||
certifi/__pycache__/__init__.cpython-38.pyc,, | ||
certifi/__pycache__/__main__.cpython-38.pyc,, | ||
certifi/__pycache__/core.cpython-38.pyc,, | ||
certifi/cacert.pem,sha256=eU0Dn_3yd8BH4m8sfVj4Glhl2KDrcCSg-sEWT-pNJ88,281617 | ||
certifi/core.py,sha256=lhewz0zFb2b4ULsQurElmloYwQoecjWzPqY67P8T7iM,4219 | ||
certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Wheel-Version: 1.0 | ||
Generator: bdist_wheel (0.37.0) | ||
Root-Is-Purelib: true | ||
Tag: py3-none-any | ||
|
1 change: 1 addition & 0 deletions
1
aws/lambda-functions/usage/certifi-2023.7.22.dist-info/top_level.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
certifi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .core import contents, where | ||
|
||
__all__ = ["contents", "where"] | ||
__version__ = "2023.07.22" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import argparse | ||
|
||
from certifi import contents, where | ||
|
||
parser = argparse.ArgumentParser() | ||
parser.add_argument("-c", "--contents", action="store_true") | ||
args = parser.parse_args() | ||
|
||
if args.contents: | ||
print(contents()) | ||
else: | ||
print(where()) |
Binary file added
BIN
+256 Bytes
aws/lambda-functions/usage/certifi/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file added
BIN
+392 Bytes
aws/lambda-functions/usage/certifi/__pycache__/__main__.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Oops, something went wrong.