This file contains hidden or 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
import glob | |
import json | |
import os | |
from azure.ai.formrecognizer import DocumentAnalysisClient | |
from azure.core.credentials import AzureKeyCredential | |
# Azure Form Recognizer credentials | |
AZURE_ENDPOINT = "https://<your-endpoint-name>.cognitiveservices.azure.com/" | |
AZURE_API_KEY = "<your-api-key>" |
This file contains hidden or 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
{ | |
"status": "succeeded", | |
"createdDateTime": "2024-04-22T15:49:33Z", | |
"lastUpdatedDateTime": "2024-04-22T15:49:37Z", | |
"analyzeResult": { | |
"apiVersion": "2023-07-31", | |
"modelId": "prebuilt-document", | |
"stringIndexType": "utf16CodeUnit", | |
"content": "Preview File\nEdit\nView Go\nTools Window Help :selected:\nDV\n~ a Thu Mar 28 2:27 PM\nHallam_annual_2020 ....\n1\n2\n4\nv\nHallam_annual_2020.pdf Page 1 of 6\n0\nQ Search\nCommonwealth of Pennsylvania - Campaign Finance Report (Note: This report must be clear and legible. It should be typed)\nFiler Identification Number\nReport Filed By ( Mark X)\nCandidate :unselected: Committee :selected: X\nLobbyist :unselected:\nName of Filing Committee, Candidate or Lobbyist\nFriends of Bethany HALLAM\nStreet Address\n7917 Henwock Street\nCity\nPizzsburgh\nState PA\nZip Code\n15237\nType of Report (Place x under report type)\n1- 6th Tuesday Pre-Primary\n2- 2ºº Friday Pre-Primary\n3- 30 Day Post 4- 6th Tuesday\nPrimary\nPre- Election\n5- 2nd Friday Pre- Election\n6- 30 Da |
This file contains hidden or 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
session = FuturesSession(max_workers=8) | |
session.mount("http://", requests.adapters.HTTPAdapter(max_retries=5)) | |
msg = "%s: testing %d web and %d local links" % (nbname, len(web_links), len(local_links)) | |
print >> sys.stderr, msg | |
# Testing web links | |
while True: | |
futures = {link: session.get(link, verify=False, stream=True, | |
headers={'User-Agent': self.USER_AGENT}, timeout=10.0) |
This file contains hidden or 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
#!/usr/bin/env ipython | |
import io | |
import sys | |
from nbformat import read, write | |
# Handle either stdin or a filename | |
if __name__ == '__main__': | |
for filename in sys.argv[1:]: | |
ipynb = read(filename, 4) |
This file contains hidden or 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
2013-07-01 | 16650 | |
---|---|---|
2013-07-02 | 22745 | |
2013-07-03 | 21864 | |
2013-07-04 | 22326 | |
2013-07-05 | 21842 | |
2013-07-06 | 20467 | |
2013-07-07 | 20477 | |
2013-07-08 | 21615 | |
2013-07-09 | 26641 | |
2013-07-10 | 25732 |
This file contains hidden or 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
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description | |
+++-==============================================-============================-============================-================================================================================================== | |
ii gnome-session-xmonad 1.0-1xenial1 all GNOME Session Manager - XMonad session |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>What Did You Click?</title> | |
</head> | |
<body> | |
<!-- Put your page markup here --> | |
<h1>Do Now</h1> | |
<p>You should alert the user whether or not the letter is in the word.</p> | |
<p>To see if a letter is in a word, you can use |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>What Did You Click?</title> | |
</head> | |
<body> | |
<!-- Put your page markup here --> | |
<h1>Do Now</h1> | |
<p>You should alert the user whether or not the letter is in the word.</p> | |
<p>To see if a letter is in a word, you can use |
This file contains hidden or 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
This file contains hidden or 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
NewerOlder