Skip to main content

author:

  • Marco Heisig title: 'A library for cross-language interoperability.'

The lang module/system/library can be loaded from multiple programming languages to seamlessly integrate all the other supported ones. The currently supported languages are Python and Lisp.

Installation

Requires libsbcl in your library path if you want to load Lisp into Python.

Requires libpython3.11 or later in your library path if you want to load Python into Lisp.

Showcases

(in-package #:cl-user)
(sb-ext:add-package-local-nickname '#:python '#:lang.python)

(python:list #(1 2.0 #c(3 4) "5 6"))
 => [1, 2.0, #C(3 4) "5 6"]

(python:tuple (python:map #'class-of *))
 => (<class 'lang.common-lisp.fixnum'>,
     <class 'lang.common-lisp.single-float'>,
     <class 'lang.common-lisp.complex'>,
     <class 'lang.sb-kernel.simple-character-string'>)

(python:getitem (python:dir 42) (python:slice 5))
 => ['__class__', '__bool__', '__and__', '__add__', '__abs__']

(python:isinstance (python:getitem (python:dir 42) 0) (find-class 'python:str))
 => True

(typep (python:getitem (python:dir 42) 0) 'python:str)
 => t

Metadata

Release files for lang 0.1

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

Source distribution (sdist)

Source distribution for lang 0.1
File Size Uploaded Provenance Actions
lang-0.1.tar.gz 3.0 kB Without provenance Details for lang-0.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / lang-0.1.tar.gz

Download URL lang-0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
06daddd4d0dc9cd05b25f15662560d3183a7fe51506930f5babe073fbbf75f0d
BLAKE2b-256 checksum
How to use checksums
d46f2ada450c78aed64b5d455befbdd5a899ffaa0d8d2594c87742e86925560e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.0rc1

Release files / lang-0.1-py3-none-any.whl

Download URL lang-0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24647c80a85f2a2e7303b5d5ffa3f1c4631fac21dd42a20d6bc9f4abfd92d3a0
BLAKE2b-256 checksum
How to use checksums
c384f4f98574eb3eccdbf2615e06a2e51959ee5b3993deba88ea1e07c6424ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.0rc1

Security for lang 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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