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

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.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anacondacode-0.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file anacondacode-0.0.2.tar.gz.

File metadata

  • Download URL: anacondacode-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 f80e29aed98b54eb8709bcdd12af3038096e62b6b42e84e70cfe7b8db2ab5cf5
MD5 33bbcd21f25d6cde9b45f0e7aa3f6bff
BLAKE2b-256 6e40a0f4c52237a4d57cfb17ac2c100c3a50ede1593e8bd3a109f4915f4248bf

See more details on using hashes here.

File details

Details for the file anacondacode-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: anacondacode-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for anacondacode-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ebfb3a6c907fbf0cbfcf0c3c6f069a68b16373a8cc0155a575b18c69ca0552
MD5 9206e8d4e821a3e523b77df6ae95cdea
BLAKE2b-256 5b27d6e0e0b58915d5b165cf686f54f6af12bff29a580683fa58350c549a2f6f

See more details on using hashes here.

Supported by

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