-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2918d6
commit 01abc6f
Showing
85 changed files
with
1,161 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
|
||
<html xmlns = "http://www.w3.org/1999/xhtml"> | ||
<!-- | ||
SAME AS NELSON SOFTWARE | ||
--> | ||
|
||
<head> | ||
<meta name="generator" content= | ||
"HTML Generated by Nelson"/> | ||
<link rel="stylesheet" type="text/css" href="style.css" /> | ||
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" /> | ||
<title>The power of calling Python from Nelson</title> | ||
|
||
</head> | ||
<body> | ||
|
||
<div class = "manualnavbar"> | ||
<table width = "100%"><tr> | ||
|
||
<td width="40%" class="center"> | ||
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span> | ||
</td> | ||
|
||
<td width = "30%" class = "next"> | ||
<span class = "next"><a href = "2_How_to_install_python_package.html">How to install python package >></a></span> | ||
</td> | ||
|
||
</tr></table> | ||
<hr /> | ||
|
||
<h1 class="refname">The power of calling Python from Nelson</h1> | ||
<hr/> | ||
|
||
<h3>Description</h3> | ||
<hr/> | ||
|
||
<p></p> | ||
|
||
<p>Python is a dominant force in various fields, including machine learning, data science, and general programming.</p> | ||
<p>Its extensive libraries, such as NumPy, SciPy and Pandas, provide an arsenal of tools for scientific computing and data manipulation.</p> | ||
<p>Combining the strengths of Nelson’s digital capabilities with Python’s vast ecosystem opens up a world of possibilities.</p> | ||
<p/> | ||
<p>Why call Python from Nelson?</p> | ||
<p>- Access to a rich ecosystem: Python has a vast collection of libraries for various tasks, from advanced statistical analysis to machine learning and beyond.</p> | ||
<p>By calling Python from Nelson, users can access this rich ecosystem without sacrificing Nelson's core functionality.</p> | ||
<p>- Seamless integration: Nelson's ability to call external functions allows for seamless integration with Python.</p> | ||
<p>This means Nelson users can leverage Python capabilities within their familiar Nelson environment, improving productivity and workflow efficiency.</p> | ||
<p/> | ||
<p>- Specialized Libraries: Although Nelson offers a wide range of built-in functions, there are some niche tasks that Python libraries excel at.</p> | ||
<p>For example, deep learning tasks can be handled efficiently using Python libraries such as TensorFlow or PyTorch, seamlessly integrated into Nelson workflows.</p> | ||
<p/> | ||
<p>- Rapid prototyping and development: Python is often preferred for rapid prototyping and development due to its concise syntax and extensive library support.</p> | ||
<p>By leveraging Python from Nelson, users can leverage Python's rapid prototyping capabilities while maintaining Nelson's digital computing environment for production-level work.</p> | ||
<p/> | ||
<p>- Community Collaboration: By integrating Python into Nelson workflows, users can leverage the collective wisdom of both communities, fostering collaboration and innovation.</p> | ||
<p/> | ||
<p>In conclusion, calling Python from Nelson offers a powerful synergy that combines the strengths of both platforms.</p> | ||
<p>Whether accessing specialized libraries, prototyping algorithms, or fostering collaboration, integrating Python into Nelson workflows can improve productivity and open up new possibilities for scientific computing and data analysis.</p> | ||
|
||
|
||
<h3>See also</h3> | ||
<hr/> | ||
|
||
<p> | ||
<a href = "pyrun.html" class = "link">pyrun</a>, <a href = "pyenv.html" class = "link">pyenv</a>.</p> | ||
|
||
<div class = "manualnavbar"> | ||
<table width = "100%"><tr> | ||
|
||
<td width="40%" class="center"> | ||
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span> | ||
</td> | ||
|
||
<td width = "30%" class = "next"> | ||
<span class = "next"><a href = "2_How_to_install_python_package.html">How to install python package >></a></span> | ||
</td> | ||
|
||
</tr></table> | ||
<hr /> | ||
|
||
</body> | ||
|
||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
|
||
<html xmlns = "http://www.w3.org/1999/xhtml"> | ||
<!-- | ||
SAME AS NELSON SOFTWARE | ||
--> | ||
|
||
<head> | ||
<meta name="generator" content= | ||
"HTML Generated by Nelson"/> | ||
<link rel="stylesheet" type="text/css" href="style.css" /> | ||
<link rel="stylesheet" href="mono-blue.css" type="text/css" /> | ||
<script src = "highlight.pack.js" type = "text/javascript"> | ||
</script> | ||
<script type = "text/javascript">hljs.highlightAll();</script> | ||
</script> | ||
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" /> | ||
<title>How to install python package</title> | ||
|
||
</head> | ||
<body> | ||
|
||
<div class = "manualnavbar"> | ||
<table width = "100%"><tr> | ||
|
||
<td width="30%" class="previous"> | ||
<span class="top"><a href="1_The_power_of_Python.html"><< The power of calling Python from Nelson</a></span> | ||
</td> | ||
|
||
<td width="40%" class="center"> | ||
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span> | ||
</td> | ||
|
||
<td width = "30%" class = "next"> | ||
<span class = "next"><a href = "pyargs.html">pyargs >></a></span> | ||
</td> | ||
|
||
</tr></table> | ||
<hr /> | ||
|
||
<h1 class="refname">How to install python package</h1> | ||
<hr/> | ||
|
||
<h3>Description</h3> | ||
<hr/> | ||
|
||
<p></p> | ||
|
||
<p>Nelson allows users to seamlessly integrate Python packages into their workflows.</p> | ||
<p>Installing Python packages within Nelson expands its functionality and enables users to leverage a wide array of libraries for data analysis, machine learning, scientific computing, and more.</p> | ||
<p>This help file provides a comprehensive guide on installing Python packages from within Nelson.</p> | ||
<p/> | ||
<p>Tips and Considerations:</p> | ||
<p/> | ||
<p>- Package Availability: Ensure that the Python package you intend to install is available on the Python Package Index (PyPI) or another compatible repository.</p> | ||
<p>- Dependencies: Some Python packages may have dependencies on other packages. Make sure to install any required dependencies beforehand.</p> | ||
<p>- Version Compatibility: Check the compatibility of the package with your current Python environment and Nelson version to avoid compatibility issues.</p> | ||
<p>- Virtual Environments: Consider using virtual environments within Nelson to isolate package installations and manage dependencies for different projects.</p> | ||
<p>- Permission Rights: When installing packages that require write access to the Python directory, ensure that you have the necessary permissions. On some systems, administrative privileges may be required to install packages globally. If you encounter permission errors, consider using a virtual environment or contacting your system administrator for assistance.</p> | ||
|
||
|
||
<h3>Examples</h3> | ||
<hr/> | ||
|
||
<p>Get info from the pyenv environment:</p> | ||
<pre> | ||
<code class = "nelson">pe = pyenv | ||
</code> | ||
</pre> | ||
<p>Construct the command to install the package:</p> | ||
<pre> | ||
<code class = "nelson">package_to_install = "scipy"; | ||
command_to_install = '"' + pe.Executable + '"' + " -m pip install " + package_to_install; | ||
</code> | ||
</pre> | ||
<p>Construct the command to install the package:</p> | ||
<pre> | ||
<code class = "nelson">[status, msg] = system(command_to_install); | ||
</code> | ||
</pre> | ||
|
||
<h3>See also</h3> | ||
<hr/> | ||
|
||
<p> | ||
<a href = "system.html" class = "link">system</a>, <a href = "pyenv.html" class = "link">pyenv</a>.</p> | ||
|
||
<div class = "manualnavbar"> | ||
<table width = "100%"><tr> | ||
|
||
<td width="30%" class="previous"> | ||
<span class="top"><a href="1_The_power_of_Python.html"><< The power of calling Python from Nelson</a></span> | ||
</td> | ||
|
||
<td width="40%" class="center"> | ||
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span> | ||
</td> | ||
|
||
<td width = "30%" class = "next"> | ||
<span class = "next"><a href = "pyargs.html">pyargs >></a></span> | ||
</td> | ||
|
||
</tr></table> | ||
<hr /> | ||
|
||
</body> | ||
|
||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.