Build a Hash Table in Python With TDD Real Python https://realpython.com/python-hash-table/ Classic data structure Indexing database tables Caching computed values Implementing sets O(1) Python own hash table dict O(n) or O(1), you might say…. https://stackoverflow.com/questions/9214353/hash-table-runtime-complexity-insert-search-and-delete
Category: Python
5 min Azure Storage Explorer Queues (access key) Python SDK
What is Azure Queue Storage? Introduction to Azure Queue Storage – Azure Storage | Microsoft Docs Azure Queue Storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size. A…
5 Min Python WMI perfmon
winstats · PyPI Memory statsPerformance statsDisk info, types, and statsPerformance Data Counters (aka PerfMon) Sample code:
5 min Azure event hub with Python SDK (con str)
Event Hubs: Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per secondand stream them into multiple applications. This lets you process and analyze the massive amounts ofdata produced by your connected devices and applications. https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features Namespace: Network endpoints and a range of access control and network integration management…
5 min Create and configure an Azure Files shares connect with Python SDK (con str)
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share?tabs=azure-portal Questions to think about:What are the performance requirements for your Azure file share?What are your redundancy requirements for your Azure file share?What size file share do you need? File share type: SMB connect SMB protocol 3 or higher Create a storage account:BasicsGeneral purpose version 2 (GPv2) storage accounts: HDD-based, ++FileStorage storage accounts: SSD-based, ++…
Measure your VM with typeperf (Pandas py) perfmon
Azure disk-types https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types Ultra, Premium SSD, Standard SSD, Standard HDD. Max disk size 65,536 gibibyte (GiB) 32,767 GiB 32,767 GiB 32,767 GiB Max throughput 2,000 MB/s 900 MB/s 750 MB/s 500 MB/s Max IOPS 160,000 20,000 6,000 2,000 Premium SSD Azure premium SSDs deliver high-performance and low-latency disk support for virtual machines (VMs) with input/output…
Cryptography with Python – Caesar Cipher
After reading (almost done) with: The Code Book : The Secret History of Codes and Code-Breaking Paperback – April 30, 2002by Simon Singh (Author) available at Amazon and so on I became fascinated with the history and the small stories that goes along with the different codes used and still being used today. Here is…
TODO Python Regular Expressions
https://realpython.com/regex-python/
Function app
https://docs.microsoft.com/en-us/azure/azure-functions/ First function Python https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code?pivots=programming-language-python Linux, hm, must upload code from local The Azure Functions extension for Visual Studio Code. Azure icon click it, takes time Select a language for your function project: Choose Python.Select a Python alias to create a virtual environment: Choose the location of your Python interpreter. If the location isn’t shown,…
Azure SDK Pyhon
https://azure.github.io/azure-sdk/python_introduction.html Python Guidelines: Introduction: Design principlesIdiomaticConsistentApproachableDiagnosableDependablePython Design Principles:–PEP 20 — The Zen of Python, import this https://www.python.org/dev/peps/pep-0020/ General Guidelines: https://azure.github.io/azure-sdk/general_introduction.html Gitub: https://github.com/azure/azure-sdk-for-python Supported python versions:Code style: https://www.python.org/dev/peps/pep-0008/ Naming conventions: service_client = ServiceClient() service_client.list_things() def do_something(): class ThisIsCorrect(object): pass MAX_SIZE = 4711 database_module.py Method signatures: DO NOT use, static, do not use get set, use properties…