# Psyco

> just-in-time compiler for Python

**Wikidata**: [Q1324413](https://www.wikidata.org/wiki/Q1324413)  
**Wikipedia**: [English](https://en.wikipedia.org/wiki/Psyco)  
**Source**: https://4ort.xyz/entity/psyco

## Summary  
Psyco is a free, open‑source just‑in‑time (JIT) compiler that speeds up programs written in the Python programming language. It translates Python bytecode to native machine code at runtime, delivering faster execution while remaining distributed under the MIT License.

## Key Facts  
- Psyco provides just‑in‑time compilation for Python code.  
- It is released as free software and classified as an instance of “free software.”  
- The project is licensed under the MIT License.  
- Psyco’s official website is http://psyco.sourceforge.net/ (English language).  
- The source code is hosted on Bitbucket (Mercurial repository) at https://bitbucket.org/arigo/psyco.  
- Psyco is listed as a SourceForge project named “psyco.”  
- It is associated with the programming language Python.  
- The Freebase identifier for Psyco is /m/05bjql.  
- Wikipedia entries exist in 10 languages (ar, de, en, es, fi, it, ja, ko, pt, ru).  

## FAQs  
### Q: What does Psyco do for Python programs?  
A: Psyco compiles Python bytecode into native machine code on the fly, delivering just‑in‑time performance improvements for Python applications.  

### Q: Is Psyco free to use and modify?  
A: Yes, Psyco is distributed as free software under the MIT License, allowing users to run, study, change, and redistribute it.  

### Q: Where can I download or view Psyco’s source code?  
A: Psyco can be downloaded from its SourceForge page (project name “psyco”) and its source repository is available on Bitbucket at https://bitbucket.org/arigo/psyco.  

## Why It Matters  
Python is celebrated for its readability and ease of use, but its interpreted nature can limit execution speed for compute‑intensive tasks. Psyco addresses this limitation by introducing just‑in‑time compilation, converting Python bytecode into optimized native machine code at runtime. This approach yields substantial performance gains without requiring developers to rewrite code in a compiled language. By being free software under the permissive MIT License, Psyco encourages community contributions and integration into other projects. Although newer JIT solutions have emerged, Psyco’s early adoption demonstrated the viability of JIT techniques for dynamic languages, influencing subsequent tools and the broader Python ecosystem. Its availability on platforms like SourceForge and Bitbucket also exemplifies open‑source collaboration practices.  

## Notable For  
- First widely used JIT compiler specifically targeting Python.  
- Distributed under the permissive MIT License, facilitating unrestricted reuse.  
- Hosted as a free software project on SourceForge and Bitbucket (Mercurial).  
- Recognized across multiple Wikipedia language editions, reflecting international relevance.  
- Classified as an instance of “free software” within the free‑software community.  

## Body  

### Overview  
Psyco is a just‑in‑time compiler designed to accelerate Python programs. It works by translating Python bytecode into native machine code during program execution, reducing the overhead of interpretation.

### Licensing and Distribution  
- **License:** MIT License, a permissive open‑source license.  
- **Free‑software status:** Classified as an instance of free software, meeting criteria that allow users to run, study, modify, and share the software.  

### Project Hosting  
- **Website:** http://psyco.sourceforge.net/ (English).  
- **SourceForge:** Project listed under the name “psyco.”  
- **Source Code Repository:** Mercurial repository on Bitbucket (https://bitbucket.org/arigo/psyco).  

### Technical Context  
- **Programming Language:** Written for and works with Python.  
- **Primary Use:** Just‑in‑time compilation, improving runtime performance of Python applications.  

### Related Entities  
- **Free software (class):** Psyco belongs to the broader category of free software, which emphasizes user freedoms.  
- **Python (thing):** The language Psyco targets; Python was initially released on 20 February 1991.  

### Identifiers and Metadata  
- **Freebase ID:** /m/05bjql (recorded 28 October 2013).  
- **Open Hub ID:** psyco.  
- **MacPorts Port:** py-psyco.  
- **ProLinux.de DBApp ID:** 4427.  
- **Wikipedia Presence:** 13 sitelinks, available in Arabic, German, English, Spanish, Finnish, Italian, Japanese, Korean, Portuguese, and Russian.  

### Historical Impact  
Psyco demonstrated that JIT compilation could be effectively applied to a high‑level, dynamically typed language like Python. Its success paved the way for later JIT projects (e.g., PyPy) and contributed to the ongoing discussion about performance optimization in the Python ecosystem.

## References

1. Freebase Data Dumps. 2013