Home Projects m2cgen
m2cgen
Python

m2cgen

Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies

by BayesWitnesses · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
ccsharpdartlangMITPython
View on GitHub
In plain words

Convert machine learning models into code for various programming languages without needing extra software.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
m2cgen — GitHub preview card
📈 Star history
2 9912 989
2026-07-072026-08-31
📈 Track m2cgen

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies

m2cgen has 3k stars on GitHub. It has been forked 264 times. m2cgen is written mainly in Python. It has been in active development since 2019. m2cgen is available under the MIT license. Its main topics are c, csharp, dartlang, go.

Frequently asked questions

What is m2cgen?

Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies

Is m2cgen open source?

m2cgen is an open-source project. It is released under the MIT license.

Is m2cgen free?

Yes. m2cgen is free and open source — you can use, modify and self-host it.

What license does m2cgen use?

m2cgen is available under the MIT license.

What language is m2cgen written in?

m2cgen is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — m2cgen

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=bayeswitnesses-m2cgen)](https://olud.ai/project/bayeswitnesses-m2cgen.html)
More badge options →
🧬 Related projects