An Entity of Type: language, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

Pyrex is a programming language for creating Python modules. Its syntax is very close to Python and it makes it easy for Python programmers to write non-Python supporting code for interfacing modules in a language which is as close to Python as possible. Python itself only provides a C API to write extension modules, which allows writing of functions and datatypes in C. These can then be accessed from Python. It is possible to wrap the functions and datatypes of existing C libraries as Python objects and therefore make them available to Python.

Property Value
dbo:abstract
  • بايراكس (بالإنجليزية: Pyrex)‏ هي لغة برمجة أنشأت بغرض تسهيل عملية إنشاء وحدات بايثون. وصيغتها النحوية قريبة جدا من لغة بايثون. (ar)
  • Pyrex est un langage de programmation destiné à l'écriture de modules Python. (fr)
  • Pyrex is a programming language for creating Python modules. Its syntax is very close to Python and it makes it easy for Python programmers to write non-Python supporting code for interfacing modules in a language which is as close to Python as possible. Python itself only provides a C API to write extension modules, which allows writing of functions and datatypes in C. These can then be accessed from Python. It is possible to wrap the functions and datatypes of existing C libraries as Python objects and therefore make them available to Python. Pyrex allows the user to write extension modules in a Python-like language which may directly access the external C code. The similarity of Pyrex's syntax to Python's makes it easy to write Python modules, but there are some functional limitations. The programmer must specify the name of C-header files, enumerations, datatypes and functions needing to be accessed in the module, then they can be used as if they were Python objects. The Pyrex compiler will generate the necessary glue code automatically and compile the Pyrex code into a working Python module. There are tools like SWIG or Python's foreign function library ctypes which can be used for this task without requiring much additional code, but this is limited to making an external library available in Python code. If adjustments to the API are needed, glue code must again be written manually. (en)
  • Pyrex は、Pythonの拡張モジュールの作成を補助する目的で開発されたプログラミング言語である。Python は拡張モジュールを記述するためのC言語のAPIを提供している。関数とデータ型をC言語で記述することができ、記述したモジュールは Python からアクセスすることができる。既存の C ライブラリ の関数とデータ型を Python オブジェクトとしてラップし、Python から利用可能にすることもできる。 こうしたプロセスの自動化を補助する SWIG のようなツールも存在するが、Python から外部のライブラリを利用可能にすることに限定されており、API の変更が必要な場合、再度グルーコードを手で記述する必要がある。このような場合に Pyrex は適している。Pyrex ではユーザーが C コードに直接アクセス可能な Python に似た言語を用いて、拡張モジュールを記述することを可能にする。 Pyrex と Python の文法が似ているため、Python のモジュールを記述するのは容易であり、C や C++ などの異なる言語を習得する必要がない。また、グルーコードを書く必要もない。C のヘッダファイルと、拡張モジュールでアクセスする必要のある列挙型、データ型、関数を指定するだけでよい。Pyrex コンパイラが必要なグルーコードを自動的に生成し、Pyrex コードを動作する Python モジュールにコンパイルしてくれる。 (ja)
  • Pyrex — язык программирования, разработанный Greg Ewing в 2002 году в целях упрощения создания модулей для Python. Его синтаксис очень близок к Python, что упрощает использование Python-программистами для создания связующего кода. Позже Pyrex стал основой для Cython. (ru)
dbo:genre
dbo:latestReleaseDate
  • 2010-04-12 (xsd:date)
dbo:latestReleaseVersion
  • 0.9.9
dbo:operatingSystem
dbo:programmingLanguage
dbo:releaseDate
  • 2002-04-03 (xsd:date)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 3274540 (xsd:integer)
dbo:wikiPageLength
  • 4495 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1026837619 (xsd:integer)
dbo:wikiPageWikiLink
dbp:developer
  • Greg Ewing (en)
dbp:genre
dbp:latestReleaseDate
  • 2010-04-12 (xsd:date)
dbp:latestReleaseVersion
  • 0.900000 (xsd:double)
dbp:name
  • Pyrex (en)
dbp:operatingSystem
dbp:programmingLanguage
dbp:released
  • 2002-04-03 (xsd:date)
dbp:title
  • Pyrex (en)
dbp:wikiPageUsesTemplate
dbp:wordnet_type
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • بايراكس (بالإنجليزية: Pyrex)‏ هي لغة برمجة أنشأت بغرض تسهيل عملية إنشاء وحدات بايثون. وصيغتها النحوية قريبة جدا من لغة بايثون. (ar)
  • Pyrex est un langage de programmation destiné à l'écriture de modules Python. (fr)
  • Pyrex — язык программирования, разработанный Greg Ewing в 2002 году в целях упрощения создания модулей для Python. Его синтаксис очень близок к Python, что упрощает использование Python-программистами для создания связующего кода. Позже Pyrex стал основой для Cython. (ru)
  • Pyrex is a programming language for creating Python modules. Its syntax is very close to Python and it makes it easy for Python programmers to write non-Python supporting code for interfacing modules in a language which is as close to Python as possible. Python itself only provides a C API to write extension modules, which allows writing of functions and datatypes in C. These can then be accessed from Python. It is possible to wrap the functions and datatypes of existing C libraries as Python objects and therefore make them available to Python. (en)
  • Pyrex は、Pythonの拡張モジュールの作成を補助する目的で開発されたプログラミング言語である。Python は拡張モジュールを記述するためのC言語のAPIを提供している。関数とデータ型をC言語で記述することができ、記述したモジュールは Python からアクセスすることができる。既存の C ライブラリ の関数とデータ型を Python オブジェクトとしてラップし、Python から利用可能にすることもできる。 こうしたプロセスの自動化を補助する SWIG のようなツールも存在するが、Python から外部のライブラリを利用可能にすることに限定されており、API の変更が必要な場合、再度グルーコードを手で記述する必要がある。このような場合に Pyrex は適している。Pyrex ではユーザーが C コードに直接アクセス可能な Python に似た言語を用いて、拡張モジュールを記述することを可能にする。 (ja)
rdfs:label
  • بايركس (لغة برمجة) (ar)
  • Pyrex (langage) (fr)
  • Pyrex (ja)
  • Pyrex (programming language) (en)
  • Pyrex (язык программирования) (ru)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
foaf:name
  • Pyrex (en)
is dbo:programmingLanguage of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License