Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
TheAlgorithms
/
Python
Public
Notifications
You must be signed in to change notification settings
Fork
46.7k
Star
200k
Code
Issues
66
Pull requests
310
Discussions
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Commits
Breadcrumbs
History for
Python
maths
entropy.py
on
master
User selector
All users
Datepicker
All time
Commit History
Commits on Apr 22, 2024
Enable ruff RUF002 rule (#11377)
Show description for 4700297
MaximSmolskiy
and
cclauss
authored
4700297
Copy full SHA for 4700297
Commits on Apr 2, 2024
Enable ruff PGH003 rule (#11345)
Show description for 53b2926
MaximSmolskiy
and
pre-commit-ci[bot]
authored
53b2926
Copy full SHA for 53b2926
Commits on Mar 13, 2024
[pre-commit.ci] pre-commit autoupdate (#11322)
Show description for bc8df6d
pre-commit-ci[bot]
authored
bc8df6d
Copy full SHA for bc8df6d
Commits on Aug 29, 2023
[pre-commit.ci] pre-commit autoupdate (#9013)
Show description for 421ace8
3 people
authored
421ace8
Copy full SHA for 421ace8
Commits on Sep 7, 2021
Pyupgrade to Python 3.9 (#4718)
Show description for cecf43d
cclauss
and
github-actions
authored
cecf43d
Copy full SHA for cecf43d
Commits on Oct 21, 2020
Pyupgrade to python3.8 (#3616)
Show description for 9b95e4f
cclauss
and
github-actions
authored
9b95e4f
Copy full SHA for 9b95e4f
Commits on Sep 23, 2020
from __future__ import annotations (#2464)
Show description for 9200a2e
cclauss
and
github-actions
authored
9200a2e
Copy full SHA for 9200a2e
Commits on Jun 16, 2020
Blacken our code (#2125)
Show description for f97af65
cclauss
and
github-actions
authored
f97af65
Copy full SHA for f97af65
implementation of entropy algorithm. (#2110)
Show description for 924ef9b
beqakd
and
cclauss
authored
924ef9b
Copy full SHA for 924ef9b
Loading
You can’t perform that action at this time.