Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
Type
/
to search
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
CodersSampling
/
python-magic
Public
forked from
ahupp/python-magic
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
python-magic
test
on
master
User selector
All users
All time
Commit history
Commits on Mar 2, 2025
format with ruff
ahupp
committed
62bd3c6
View commit details
Copy full SHA for 62bd3c6
View code at this point
Browse repository at this point
Commits on Feb 19, 2025
Unbreak various things
Show description for a3ed086
ahupp
committed
a3ed086
View commit details
Copy full SHA for a3ed086
View code at this point
Browse repository at this point
Commits on Feb 11, 2025
simplify tests into something more delarative
ahupp
committed
42980e5
View commit details
Copy full SHA for 42980e5
View code at this point
Browse repository at this point
Commits on May 26, 2024
rename no_json test to avoid duplicate function definitions
ahupp
committed
4b776d7
View commit details
Copy full SHA for 4b776d7
View code at this point
Browse repository at this point
Commits on May 16, 2024
GitHub Action to replace Travis CI
cclauss
authored and
ahupp
committed
e578995
View commit details
Copy full SHA for e578995
View code at this point
Browse repository at this point
Commits on Oct 9, 2023
python-magic tests: add test files for elf and json, use to test flags
Show description for 54d86fd
risicle
authored and
ahupp
committed
54d86fd
View commit details
Copy full SHA for 54d86fd
View code at this point
Browse repository at this point
Commits on Aug 25, 2023
add MAGIC_SYMLINK support, and tests for same
ahupp
committed
2a01b18
View commit details
Copy full SHA for 2a01b18
View code at this point
Browse repository at this point
Commits on Aug 4, 2023
Fix test suite with file 5.45
Show description for 545a2a5
DimStar77
authored and
ahupp
committed
545a2a5
View commit details
Copy full SHA for 545a2a5
View code at this point
Browse repository at this point
Commits on Jan 10, 2023
update test for upstream added gzip extensions
ahupp
committed
4ffcd59
View commit details
Copy full SHA for 4ffcd59
View code at this point
Browse repository at this point
docker test cleanup
ahupp
committed
3794a39
View commit details
Copy full SHA for 3794a39
View code at this point
Browse repository at this point
Commits on May 22, 2022
use tox for all the multi-version testing
ahupp
committed
51e34d2
View commit details
Copy full SHA for 51e34d2
View code at this point
Browse repository at this point
Commits on Apr 25, 2022
rename test to match standard naming rules, so pytest finds it: https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery
ahupp
committed
585373b
View commit details
Copy full SHA for 585373b
View code at this point
Browse repository at this point
less surprising use of abspath
ahupp
committed
de97f00
View commit details
Copy full SHA for de97f00
View code at this point
Browse repository at this point
correctly find path to testdata when running from root
ahupp
committed
7e76072
View commit details
Copy full SHA for 7e76072
View code at this point
Browse repository at this point
improve test script name clarity; expand test docs; cleanup docker run script
ahupp
committed
6b34bde
View commit details
Copy full SHA for 6b34bde
View code at this point
Browse repository at this point
Commits on Oct 22, 2021
Support file 5.41.
Show description for 0ae7e7c
marxin
committed
0ae7e7c
View commit details
Copy full SHA for 0ae7e7c
View code at this point
Browse repository at this point
Commits on Oct 4, 2021
Support os.PathLike types
Show description for 7f7542f
ahupp
committed
7f7542f
View commit details
Copy full SHA for 7f7542f
View code at this point
Browse repository at this point
Commits on Jun 3, 2021
fix alpine library loading
ahupp
committed
4ed6b03
View commit details
Copy full SHA for 4ed6b03
View code at this point
Browse repository at this point
Commits on Jun 1, 2021
Update tests and docker config for newer versions
ahupp
committed
ae483dc
View commit details
Copy full SHA for ae483dc
View code at this point
Browse repository at this point
Commits on Feb 16, 2021
add docker test for alpine linux
ahupp
committed
fc28c87
View commit details
Copy full SHA for fc28c87
View code at this point
Browse repository at this point
Commits on Jan 15, 2021
remove from_open_file, since its duplicative with from_descriptor and hasnt been released yet
ahupp
committed
665b7bd
View commit details
Copy full SHA for 665b7bd
View code at this point
Browse repository at this point
skip magic_descriptor tests in centos 7
ahupp
committed
2b8bb0d
View commit details
Copy full SHA for 2b8bb0d
View code at this point
Browse repository at this point
Revert "Remove Python2 from the tests"
Show description for e9287af
ahupp
committed
e9287af
View commit details
Copy full SHA for e9287af
View code at this point
Browse repository at this point
Merge branch 'master' into redo-compat
ahupp
authored
eccbe10
View commit details
Copy full SHA for eccbe10
View code at this point
Browse repository at this point
Commits on Jan 13, 2021
Reformat according to PEP
Show description for a747024
SchoolGuy
committed
a747024
View commit details
Copy full SHA for a747024
View code at this point
Browse repository at this point
Fix path of the test pdf
SchoolGuy
committed
b59f6c8
View commit details
Copy full SHA for b59f6c8
View code at this point
Browse repository at this point
Remove Python2 from the tests
SchoolGuy
committed
4a810b4
View commit details
Copy full SHA for 4a810b4
View code at this point
Browse repository at this point
Commits on Jan 11, 2021
Add support for Python 3.9
eumiro
committed
5d7099f
View commit details
Copy full SHA for 5d7099f
View code at this point
Browse repository at this point
Commits on Dec 7, 2020
Added support for magic_descriptor routine
psrok1
committed
ca14bfb
View commit details
Copy full SHA for ca14bfb
View code at this point
Browse repository at this point
Commits on Nov 6, 2020
Handle libmagic versions that don't support MAGIC_EXTENSION
Show description for 77b8cbe
ahupp
committed
77b8cbe
View commit details
Copy full SHA for 77b8cbe
View code at this point
Browse repository at this point
Commits on Oct 22, 2020
MAGIC_EXTENSION support (file --extension)
darkbarker
committed
800946d
View commit details
Copy full SHA for 800946d
View code at this point
Browse repository at this point
Commits on Sep 15, 2020
support changed mime types in test
ahupp
committed
8d8e485
View commit details
Copy full SHA for 8d8e485
View code at this point
Browse repository at this point
Commits on Sep 8, 2020
Fix tests with file 5.39
z3ntu
authored and
ahupp
committed
f56e9fc
View commit details
Copy full SHA for f56e9fc
View code at this point
Browse repository at this point
add docker tests for archlinux
ahupp
committed
83864c8
View commit details
Copy full SHA for 83864c8
View code at this point
Browse repository at this point
Commits on May 6, 2020
Make magic_[version|setparam|getparam] optional
Show description for 0625807
ahupp
committed
0625807
View commit details
Copy full SHA for 0625807
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.