Skip to content

Commit e00806b

Browse files
committed
Update terminology
1 parent d198607 commit e00806b

24 files changed

+20
-20
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ aplcore
22
*.pyc
33
.*.sw*
44
WinPort.dyalog
5-
APLPy.egg-info
5+
*.egg-info
66
build
77
dist
88
__pycache__

MANIFEST.in

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
include aplpy/Py.dyalog
2-
include aplpy/PyTest.dyalog
3-
include aplpy/WinPySlave.dyalog
4-
include aplpy/WinPySlave.dyapp
5-
include aplpy/IPC.dyalog
1+
include pynapl/Py.dyalog
2+
include pynapl/PyTest.dyalog
3+
include pynapl/WinPySlave.dyalog
4+
include pynapl/WinPySlave.dyapp
5+
include pynapl/IPC.dyalog

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# APL-Python bridge
1+
# Py'n'APL: APL-Python interface
22

3-
This is a bridge between Dyalog APL and Python. It allows Python
3+
This is an interface between Dyalog APL and Python. It allows Python
44
code to be accessed from APL, and vice versa.
55

66
#### Requirements:
@@ -12,7 +12,7 @@ code to be accessed from APL, and vice versa.
1212

1313
### Accessing Python from APL
1414

15-
The APL side of the bridge is located in `Py.dyalog`.
15+
The APL side of the interface is located in `Py.dyalog`.
1616
It can be loaded into the workspace using:
1717

1818
```apl
@@ -48,7 +48,7 @@ class, namely:
4848
| `ArgFmt` | string, where `` will be replaced by the path to the slave script, `` by the input pipe file (or `TCP` if in TCP mode), and `` by the output pipe file (or port number if in TCP mode) | When used in combination with `PyPath`, use a custom argument format rather than the standard one. |
4949
| `Version` | major Python version (2 or 3) | Start either a Python 2 or 3 interpreter, depending on which is given. The default is currently 2. |
5050
| `Debug` | boolean | If the boolean is 1, turns on debug messages and also does not start up a Python instance. |
51-
| `NoInterrupts` | boolean | Turns off interrupts in the bridge code. This disables the ability to interrupt running Python code, but makes sure that any interrupts are caught by your own code and not by the bridge. |
51+
| `NoInterrupts` | boolean | Turns off interrupts in the interface code. This disables the ability to interrupt running Python code, but makes sure that any interrupts are caught by your own code and not by the interface. |
5252

5353

5454
In particular, the following might be of interest:
@@ -173,7 +173,7 @@ showPage 'http://www.dyalog.com'
173173

174174
#### Error handling
175175

176-
If the Python code raises an exception, the bridge will signal a
176+
If the Python code raises an exception, the interface will signal a
177177
DOMAIN ERROR. `⎕DMX.Message` will contain the string representation
178178
of the Python exception.
179179

@@ -189,7 +189,7 @@ An APL object can be obtained using the `APL.APL` function. This
189189
will start a Dyalog instance in the background and connect to it.
190190

191191
```python
192-
from aplpy import APL
192+
from pynapl import APL
193193
apl = APL.APL()
194194
```
195195

aplpy/APL.py pynapl/APL.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
"""Dyalog APL <> Python bridge"""
3+
"""Dyalog APL <> Python interface"""
44

55
from __future__ import absolute_import
66
from __future__ import division

aplpy/APLBridgeSlave.py pynapl/APLBridgeSlave.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
mypath = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
1919
sys.path.insert(1,mypath)
2020

21-
from aplpy import APLPyConnect as C
22-
from aplpy import IPC
21+
from pynapl import APLPyConnect as C
22+
from pynapl import IPC
2323

2424
def runSlave(inp,outp):
2525
print("Opening input file...")
File renamed without changes.

aplpy/Array.py pynapl/Array.py

File renamed without changes.

aplpy/IPC.dyalog pynapl/IPC.dyalog

File renamed without changes.

aplpy/IPC.py pynapl/IPC.py

File renamed without changes.
File renamed without changes.

aplpy/Py.dyalog pynapl/Py.dyalog

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

aplpy/Util.py pynapl/Util.py

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from setuptools import setup
22

33
setup(
4-
name='APLPy',
4+
name="Py'n'APL",
55
version='0.0.4.dev1',
66

7-
description='Python - Dyalog APL bridge',
7+
description='Python - Dyalog APL interface',
88
long_description="""
99
This package allows communication between Python and Dyalog APL.
1010
""",
@@ -30,12 +30,12 @@
3030
'Programming Language :: Python :: 3.6',
3131
],
3232

33-
keywords='apl dyalog-apl bridge',
33+
keywords='apl dyalog-apl interface',
3434

35-
packages=['aplpy'],
35+
packages=['pynapl'],
3636

3737
package_data={
38-
'aplpy': [
38+
'pynapl': [
3939
'Py.dyalog',
4040
'PyTest.dyalog',
4141
'WinPySlave.dyalog',

0 commit comments

Comments
 (0)