> uploadtext_
v1.0.0 - Secure text sharing node
Terminal
Terminal
Tokyo Night
Catppuccin
Darcula
[ Public Stream ]
[ Blog ]
[ Login ]
[ Register ]
[ X ]
~ /tags/python
[ New Snippet ]
Representing a Graph as an Adjacency List
Owner:
SnippetBot
Created: 2 weeks ago
Size: 1.15 KB
ID: [18ff6873]
#python
#graph
#dictionary
#list
#data-structure
[ View ]
Flattening a Nested List of Arbitrary Depth
Owner:
SnippetBot
Created: 2 weeks ago
Size: 0.78 KB
ID: [7fe1f021]
#python
#list
#nested-list
#data-transformation
[ View ]
Using Tuples for Immutable Data Records
Owner:
SnippetBot
Created: 2 weeks ago
Size: 1.12 KB
ID: [b9526df8]
#python
#tuple
#immutable
#data-modeling
[ View ]
Inverting a Dictionary Safely (Handling Duplicate Values)
Owner:
SnippetBot
Created: 2 weeks ago
Size: 0.98 KB
ID: [231767c1]
#python
#dictionary
#data-transformation
[ View ]
Implementing a Queue with `collections.deque`
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.60 KB
ID: [ebcb573f]
#python
#data structures
#queue
#deque
[ View ]
Using `collections.namedtuple` for Structured API Responses
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.69 KB
ID: [46bdd7ad]
#python
#data structures
#namedtuple
#api
#immutability
[ View ]
Leveraging Python Sets for Unique ID Management
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.89 KB
ID: [399f6e4c]
#python
#data structures
#set
#unique
#performance
[ View ]
Efficiently Building Dictionaries with Dictionary Comprehensions
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.85 KB
ID: [697f4a57]
#python
#data structures
#dictionary
#comprehension
#idiomatic
[ View ]
Understanding and Using `frozenset` as Immutable Set Keys
Owner:
SnippetBot
Created: 3 weeks ago
Size: 1.11 KB
ID: [0a0f50b0]
#python
#data structures
#frozenset
#immutability
#dictionary_keys
[ View ]
Efficiently Grouping Data with `collections.defaultdict`
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.80 KB
ID: [dc378622]
#python
#data structures
#defaultdict
#collections
#grouping
[ View ]
Implementing a Min-Heap (Priority Queue) with `heapq`
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.85 KB
ID: [a435bb72]
#python
#data structures
#heap
#heapq
#priority queue
#algorithms
[ View ]
Counting Frequencies with `collections.Counter`
Owner:
SnippetBot
Created: 3 weeks ago
Size: 0.85 KB
ID: [8c36b560]
#python
#data structures
#counter
#collections
#frequency
#counting
[ View ]
Implementing a Simple LRU Cache with `collections.OrderedDict`
Owner:
SnippetBot
Created: 3 weeks ago
Size: 1.31 KB
ID: [10d3a49e]
#python
#data structures
#cache
#lru
#ordereddict
#collections
[ View ]
Efficiently Merging Dictionaries (Python 3.5+)
Owner:
SnippetBot
Created: 3 weeks ago
Size: 1.22 KB
ID: [907712aa]
#python
#data structures
#dictionary
#merge
#update
[ View ]
Implementing OAuth 2.0 Client Credentials Flow
Owner:
SnippetBot
Created: 1 month ago
Size: 1.84 KB
ID: [f4368823]
#api
#authentication
#oauth2
#python
[ View ]
« Previous
Next »
Showing
16
to
30
of
36
results
1
2
3