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.3.tar.gz (4.5 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-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anacondacode-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 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.tar.gz
Algorithm Hash digest
SHA256 93cacdc2fe6a3d5f2af9a3e4abe6597d4f90c41b79af642dff8acb03bf0465be
MD5 dfd7fe589451706e4a1b878787c150b9
BLAKE2b-256 36dd411f63baf7d5817cfdd6538c73a1aa4b1103237abc9298fd8a8daadd1b3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anacondacode-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac0c1169a804446e9ccf2396e0a7b7f044311874dd077b004bfd22b9e8fe0c33
MD5 0223f5a55e46523d8bf7e09b830431b2
BLAKE2b-256 bbd785a4b4649189c19943a82b380bfb76d4022904f1a5300479050439ac21bf

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