Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Elizabeth-Warren/i90
/ functions
Functions
91 in github.com/Elizabeth-Warren/i90
⨍
Functions
91
◇
Types & classes
12
↓ 20 callers
Method
get
Get a redirect based on our arguments
i90/cli.py:43
↓ 10 callers
Method
add
Given a token and a destination, stash it
i90/redirects.py:47
↓ 10 callers
Method
record
Record an event with the given type and kwargs
i90/track.py:44
↓ 7 callers
Method
get
Given a token, return the redirect record
i90/redirects.py:39
↓ 6 callers
Method
claim
Claim a redirect based on our arguments
i90/cli.py:63
↓ 6 callers
Method
extract_dimensions
(url)
i90/urls.py:14
↓ 6 callers
Function
get_by_hash_key
(redirects_table, hash_key)
i90/test_redirects.py:14
↓ 6 callers
Method
user_error
Returns a user error response
i90/responses.py:60
↓ 5 callers
Function
get_api
()
i90/test_api.py:12
↓ 5 callers
Method
redirect
Given a token and arbitrary jsonifiable kwargs, return a lambda proxy compatible response for a redirect
i90/api.py:32
↓ 5 callers
Method
validate_body
Given a request body, determine whether or not we can handle it
i90/api.py:17
↓ 4 callers
Method
conceive
Conceive of a redirect based on our arguments
i90/cli.py:51
↓ 4 callers
Method
not_found
Return the appropriate 'not found' response. Rather than return 404s, we redirect to the configured catchall URL
i90/responses.py:54
↓ 3 callers
Method
__make_request
(self, method, path, **kwargs)
i90/cli.py:35
↓ 3 callers
Method
conceive
Given a destination, create a new token, stash the redirect and return the the record
i90/redirects.py:97
↓ 3 callers
Method
redirect_created
(result)
i90/responses.py:93
↓ 2 callers
Method
already_claimed
()
i90/responses.py:69
↓ 2 callers
Method
get
Given a token, look it up in the redirects database and return a lambda compatible json responses
i90/api.py:24
↓ 2 callers
Method
html_moved
Given a destination url, return HTML that tells us its moved.
i90/responses.py:27
↓ 2 callers
Method
invalid_body
Record when we receive an invalid body in the canonical style
i90/track.py:88
↓ 2 callers
Method
invalid_destination
()
i90/responses.py:77
↓ 2 callers
Method
record_invalid_destination
Record when a destination is invalid in the canonical style
i90/track.py:80
↓ 2 callers
Method
record_redirect_created
Record redirect creation in the canonical style
i90/track.py:56
↓ 1 callers
Method
__client
(self)
i90/sync.py:16
↓ 1 callers
Method
__default_api_key
(self)
i90/cli.py:30
↓ 1 callers
Method
__find_unused_token
Generate an unused token
i90/redirects.py:83
↓ 1 callers
Method
__send
Given an event_type and event, see that it's tracked. This method cannot throw any exception by design. Futhermore, we do not perform
i90/track.py:30
↓ 1 callers
Method
__sheet
(self)
i90/sync.py:21
↓ 1 callers
Method
__values
(self)
i90/sync.py:27
↓ 1 callers
Method
__worksheet
(self)
i90/sync.py:24
↓ 1 callers
Method
denude_arguments
Denude the docopt arguments object
i90/cli.py:15
↓ 1 callers
Function
extract_item
(response)
i90/test_redirects.py:10
↓ 1 callers
Method
is_valid
(url)
i90/urls.py:10
↓ 1 callers
Method
put_record
(self, DeliveryStreamName=None, Record=None)
i90/test_helpers.py:14
↓ 1 callers
Method
record_destination_missing
Record when a destination for a redirect is missing in the canonical style
i90/track.py:76
↓ 1 callers
Method
record_miss
Record redirect miss in the canonical style
i90/track.py:68
↓ 1 callers
Method
record_redirect_success
Record redirect success in the canonical style
i90/track.py:64
↓ 1 callers
Method
record_token_collision
Record when we see a token collision in the canonical style
i90/track.py:84
↓ 1 callers
Method
record_token_missing
Record when a token is missing in the canonical style
i90/track.py:72
↓ 1 callers
Method
redirect
Given a destination URL and an optional headers dictionary, return an appropriate redirect.
i90/responses.py:34
↓ 1 callers
Method
redirect_json
(result)
i90/responses.py:107
↓ 1 callers
Method
redirect_json_not_found
()
i90/responses.py:115
↓ 1 callers
Method
server_error
()
i90/responses.py:85
Method
__call__
(self)
i90/sync.py:30
Method
__init__
(self, arguments)
i90/cli.py:21
Method
__init__
(self, redirects=None, tracker=None)
i90/api.py:13
Method
__init__
(self)
i90/sync.py:13
Method
__init__
(self, client=None, stream=None)
i90/track.py:25
Method
__init__
(self, *args, **kwargs)
i90/test_helpers.py:10
Method
__init__
(self, table=None, firehose=None)
i90/redirects.py:34
Method
catchall_redirect
(self)
i90/config.py:37
Function
claim
(event, *args, **kwargs)
handlers.py:30
Method
claim
Given a token, destination, and arbitrary jsonifiable kwargs, return a lambda-proxy compatible response
i90/api.py:56
Function
conceive
(event, *args, **kwargs)
handlers.py:45
Method
conceive
Given a destination and arbitrary jsonifiable kwargs, return a lambda-proxy compatible response
i90/api.py:96
Method
dynamo_configuration
(self)
i90/config.py:26
Function
get_redirect
(event, *args, **kwargs)
handlers.py:12
Method
host
(self)
i90/config.py:14
Method
protocol
(self)
i90/config.py:10
Method
record_redirect_create_failure
Record redirect creation failure in the canonical style
i90/track.py:60
Function
redirect
(event, *args, **kwargs)
handlers.py:21
Function
redirects_table
()
i90/test_helpers.py:21
Method
redirects_table
(self)
i90/config.py:33
Method
run
Run the command defined in the passed arguments
i90/cli.py:80
Method
stage
(self)
i90/config.py:22
Function
test_already_claimed
()
i90/test_responses.py:53
Function
test_claim
(redirects_table)
i90/test_api.py:36
Function
test_claim_errors_with_nones
(redirects_table)
i90/test_api.py:59
Function
test_complex_add
(redirects_table)
i90/test_redirects.py:34
Function
test_complex_conception
(redirects_table)
i90/test_redirects.py:120
Function
test_conceive
(redirects_table)
i90/test_api.py:69
Function
test_extract_dimensions
()
i90/test_urls.py:6
Function
test_get_failure
(redirects_table)
i90/test_redirects.py:103
Function
test_html_moved
()
i90/test_responses.py:14
Function
test_multiple_conceptions
(redirects_table)
i90/test_redirects.py:131
Function
test_not_found
()
i90/test_responses.py:39
Function
test_overwrite_flag
(redirects_table)
i90/test_redirects.py:73
Function
test_record
()
i90/test_tracker.py:10
Function
test_redirect
(redirects_table)
i90/test_api.py:23
Function
test_redirect_created
()
i90/test_responses.py:69
Function
test_redirect_with_headers
()
i90/test_responses.py:27
Function
test_redirect_without_headers
()
i90/test_responses.py:18
Function
test_server_error
()
i90/test_responses.py:61
Function
test_simple_add
(redirects_table)
i90/test_redirects.py:18
Function
test_simple_conception
(redirects_table)
i90/test_redirects.py:110
Function
test_simple_get
(redirects_table)
i90/test_redirects.py:87
Function
test_user_error
()
i90/test_responses.py:45
Function
test_validate_body
()
i90/test_api.py:16
Function
test_when_adding_a_bunch
(redirects_table)
i90/test_redirects.py:56
Method
token_byte_length
(self)
i90/config.py:18
Method
tracking_stream
(self)
i90/config.py:42