rust-algorithms
python
Our great sponsors
rust-algorithms | python | |
---|---|---|
3 | 22 | |
3,643 | 6,415 | |
- | 1.5% | |
1.1 | 7.9 | |
about 1 year ago | 12 days ago | |
Rust | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-algorithms
-
Anything C can do Rust can do Better
Algorithm Cookbook in Rust - Aram Ebtekar
-
Programming challenges + Rust
This blog post is a good introduction on how to use Rust for programming contests. You may also find this library of common data structures/algorithms as a good reference point.
- Coding platforms that support cargo
python
- Show HN: Kr8s a batteries-included Python client library for Kubernetes
-
How can I get a list of all namespaces within a specific Kubernetes cluster, using the Kubernetes API?
One option is to use list_namespace(), as described in https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/CoreV1Api.md
- python-k8sclient documentatiom
-
Running `connect_get_namespaced_pod_exec` using kubernetes client corev1api gives bad request
I have checked the python version == 2.7 and pip freeze - ipaddress==1.0.22, urllib3==1.24.1 and websocket-client==0.54.0 are the versions which satisfy the requirement - as mentioned here: https://github.com/kubernetes-client/python/blob/master/README.md#hostname-doesnt-matchfollowed the issue on this thread - https://github.com/kubernetes-client/python/issues/36 - not much help.
-
How to use the kubernetes-client for executing "kubectl apply"
kubectl apply -f class.yamlkubectl apply -f rbac.yamlkubectl apply -f deployment-arm.yaml I want to use the kubernetes-client written in python to replace it. My current code, loads the there yaml files (using pyyaml), edits them a bit, inserts into a file and use the command line kubectl to execute those three commands. Some of the code:
-
Tell HN: Amusing Substitutions for Class Keyword
In the Kubernetes Python client code it's called "klass":
https://github.com/kubernetes-client/python/blob/1a0cb469528e6b2bdeb3eb2c06945f1c22303dfd/kubernetes/client/api_client.py#L266
and in Apache ecosystem it's called clazz:
https://github.com/search?q=org%3Aapache+clazz&type=code
Just thought it was amusing and wanted to share
- Connecting to EKS from a Python Lambda
-
Leader Election In Kubernetes
One way is to use configmap lock https://github.com/kubernetes-client/python/tree/master/kubernetes/base/leaderelection
-
Unable to connect to kubernetes python api - .kube/config file not found
I'm having trouble connecting to the kubernetes python client even though I'm following the examples here in the api.
-
Automate All the Boring Kubernetes Operations with Python
As you can imagine, that's a lot of functions to choose from, luckily all of them are listed in docs and you can click on any one of them to get an example of its usage.
What are some alternatives?
ritelinked - RiteLinked - LinkedHashMap & LinkedHashSet in Rust
helm - The Kubernetes Package Manager
NumToA - An efficient method of heaplessly converting numbers into their string representations, storing the representation within a reusable byte array.
kubebuilder - Kubebuilder - SDK for building Kubernetes APIs using CRDs
staticstep - Provides truly zero-cost alternatives to Iterator::step_by for both incrementing and decrementing any type that satisfies RangeBounds<T: Copy + Default + Step>.
pyJoules - A Python library to capture the energy consumption of code snippets
graph - A library for high-performant graph algorithms.
bicep - Bicep is a declarative language for describing and deploying Azure resources
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
control-flag - A system to flag anomalous source code expressions by learning typical expressions from training data
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
szurubooru - Image board engine, Danbooru-style.