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 more 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.post0.tar.gz (4.6 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.3.post0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anacondacode-0.0.3.post0.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.post0.tar.gz
Algorithm Hash digest
SHA256 94f057fbe71817fbcfdccaccf27847d1478d88a30f1ae64d7b2678c2f9f3cd6e
MD5 9cbeefe73156464424da5789a3a53a49
BLAKE2b-256 600697dc38da71f77d9621a7e054e820164ded5eea8fcea5cf464fc6ae20880e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacondacode-0.0.3.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 a64fba5473be2159ac95168305ce1b8e65750e13aff086a8d3c14b2a7deeac64
MD5 05565642012970bd71d857867cdc7701
BLAKE2b-256 a330baad7086f88e48e40dd0849d5f6b3b2b941c9688f61574c68f7f3431084c

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