Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

http://pybee.org/project/projects/bridges/voc/voc.png

VOC

https://img.shields.io/pypi/pyversions/voc.svg https://img.shields.io/pypi/v/voc.svg https://img.shields.io/pypi/status/voc.svg https://img.shields.io/pypi/l/voc.svg https://beekeeper.herokuapp.com/projects/pybee/voc/shield https://badges.gitter.im/pybee/general.svg

A transpiler that converts Python code into Java bytecode.

This is experimental code. If it breaks, you get to keep all the shiny pieces.

What it does:

  • Provides an API to let you programmatically create Java class files.

  • Compiles Python 3.4 source files into Java class files, enabling you to run Python code on a JVM (including Android’s VM).

It isn’t a completely compliant Python 3.4 implementation - there are some language features (some builtin functions) that still need to be implemented, and there is only a bare bones standard library implementation. However, it is possible to convert simple Python programs, and even write simple Android applications.

Tutorial

To take VOC for a spin, run through the Getting Started guide, then start with the first tutorial.

If you’d like to contribute to VOC development, we have a guide for first time contributors.

Documentation

Documentation for VOC can be found on Read The Docs.

Why “VOC”?

The Vereenigde Oostindische Compagnie (VOC), or Dutch East India Company, is often considered to be the world’s first multinational corporation. It was also the first company to issue shares, and facilitate the trading of those shares. It was granted a 21 year monopoly to carry out trade activities in Asia, primarily the Spice Islands - the Dutch East Indies. They established a major trading port at Batavia - now Jakarta, on the island of Java (now part of Indonesia). As a result of their monopoly, the VOC became an incredibly valuable company, issuing an 18% annual dividend for almost 200 years.

VOC was… the world’s first Enterprise using Java. (rimshot!)

VOC is also a backronym for “Vestigial Output Compiler”. Or “Vexing Obtuse Compiler”. Or “Valuable Obscure Compiler”. Or “Varigated Ocelot Calibrator”. It’s your choice.

Community

VOC is part of the BeeWare suite. You can talk to the community through:

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.

Contributing

To get started with contributing to VOC, head over to our First Timers Guide.

If you experience problems with VOC, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Release files for voc 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voc 0.1.6
File Size Uploaded
voc-0.1.6.tar.gz 346.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voc 0.1.6
File Interpreter ABI Platform
voc-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 545.7 kB

Release files / voc-0.1.6.tar.gz

Download URL voc-0.1.6.tar.gz
Size 346.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b4ef6efaca41aa26c387d30ccdecdbe5b547fd75bc4a1a19ca100b51bb19a69f
BLAKE2b-256 checksum
How to use checksums
14351d64692166f5e62fdfd0da2a1548224b2239023dc4ecdcbb36a3602435b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.2

Release files / voc-0.1.6-py3-none-any.whl

Download URL voc-0.1.6-py3-none-any.whl
Size 199.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26334892f6b9ffddf2a4eb066973af43d1d613b78365b748d73cad52a902ed22
BLAKE2b-256 checksum
How to use checksums
ebcae672edd53ac9bfd60d6c4c2ca81b33b2f3ac5a6b79156dfafbe0d42c0a9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page