Skip to main content

anacondacode

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anacondacode-0.0.3.post5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

anacondacode-0.0.3.post5-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file anacondacode-0.0.3.post5.tar.gz.

File metadata

  • Download URL: anacondacode-0.0.3.post5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for anacondacode-0.0.3.post5.tar.gz
Algorithm Hash digest
SHA256 e96257e612750795b059993460c52f3935f38d6dc25405e62317471300fdbdc0
MD5 55fa33dbb57ec7bd7a707890d8380350
BLAKE2b-256 7e6988da1c14101b4b15a211cc2cda23167fb90e2035219cb7e4f85b2ad59055

See more details on using hashes here.

File details

Details for the file anacondacode-0.0.3.post5-py3-none-any.whl.

File metadata

File hashes

Hashes for anacondacode-0.0.3.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 c5cb5db156fabec41155ba67458b7c0116e4b677c0f89d42a2a147ad1d029eb9
MD5 07f7c8415a7dd88b79f27e99a3f6e84e
BLAKE2b-256 6cb57c5ab7a9641f9811e1d27e7435d4f58f91751cff4ce98858fdd848ab5074

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page