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
;; Show history of an entity | |
;; | |
;; useful for interactively inspecting what happened to a datomic entity in its lifetime | |
;; | |
;; use `entity-history` to get a list of transactions that have touched the entity (assertions, retractions) | |
;; | |
;; use `explain-tx` to find out what else was transacted in the txs | |
(defn entity-history | |
"Takes an entity and shows all the transactions that touched this entity. |
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
from bs4 import BeautifulSoup | |
import os | |
import re | |
import requests | |
import urlparse | |
import smtplib | |
from smtplib import SMTP | |
from smtplib import SMTP_SSL | |
from smtplib import SMTPAuthenticationError |
OlderNewer