Skip to main content

anacondacode

This module contains one function: runner

The function runner is intended to be used in Anaconda code cell on an Excel workbook. It has one parameter: data, which can be:

  • a reference to an Excel range via the REF function (a list of lists)
  • a pandas dataframe
  • a numpy array

The data should refer to cells that contain valid Python code. In order to avoid problems, we recommend to format these cells as text. The result (if any) of the code should be put in the global output.

Each column has uses the same global AnacondaCode namespace. But, a column can also be used as were it a module. This is done by placing a

# module = modulename

line in the code column. The given module name then becomes available for ordinary imports in the other code columns. E.g.

The global variable output can be used to return an accepted value to the sheet (in this case a list of tuples).

You can download the above sheet at: www.salabim.org/anacondacode/anacondacode_poc.xlsx

For this and more examples, see the samples folder in the anaconda repository (www.github.com/salabim/anacondacode).

Installation

Install the module anacondacode from PyPI as described in section 'Managing software packages' of https://docs.anaconda.com/excel/code/

Disclaimer

This module is in no way affiliated with Anaconda, Inc.

Metadata

Release files for anacondacode 0.0.3.post5

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

Source distribution (sdist)

Source distribution for anacondacode 0.0.3.post5
File Size Uploaded
anacondacode-0.0.3.post5.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 8.8 kB

Release files / anacondacode-0.0.3.post5.tar.gz

Download URL anacondacode-0.0.3.post5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e96257e612750795b059993460c52f3935f38d6dc25405e62317471300fdbdc0
BLAKE2b-256 checksum
How to use checksums
7e6988da1c14101b4b15a211cc2cda23167fb90e2035219cb7e4f85b2ad59055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / anacondacode-0.0.3.post5-py3-none-any.whl

Download URL anacondacode-0.0.3.post5-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5cb5db156fabec41155ba67458b7c0116e4b677c0f89d42a2a147ad1d029eb9
BLAKE2b-256 checksum
How to use checksums
6cb57c5ab7a9641f9811e1d27e7435d4f58f91751cff4ce98858fdd848ab5074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4
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