Modules • Code Design • Code Structure • How To Use • Docker • PythonEnv • Ressources •
NMesh is a Python package that provides two high-level features:
You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend ZakuroCache integration.
At a granular level, NMesh is a library that consists of the following components:
| Component | Description |
|---|---|
| nmesh | Contains the implementation of NMesh |
| nmesh.core | Contain the functions executed by the library. |
| nmesh.cp | Processor for the point cloud |
vanilla and sandbox environment.
Vanilla refers to a prebuilt docker image that already contains system dependencies.Sandbox referes a predbuilt docker image that contains the code of this repo.a.b.x, features to a.x.c and stable release (master) to x.b.c.dev and reviewed for additional features. This should only be reviewed by the engineers in the team.master for official (internal) release of the codes. This should be reviewed by the maximum number of engineers.landing/bronze/silver/goldfunctional.py contains common funtions for etl.bronze and etl.silver...
├── etl
│ ├── bronze
│ │ ├── __init__.py
│ │ └── __main__.py
│ ├── functional.py
│ ├── __init__.py
│ └── landing
│ ├── __init__.py
│ └── __main__.py
├── functional.py
├── __init__.py
...
__main__.py that demo an exeution of the module
etl/bronze/__main__.py describes an etl job for the creation of the bronze paritiontrainer/__main__.py describes the training pipelinefrom setuptools import setup
from nmesh import __version__
setup(
name='nmesh',
version=__version__,
packages=[
"nmesh",
"nmesh.core",
"nmesh.cp"
],
url='https://github.com/JeanMaximilienCadic/nmesh',
include_package_data=True,
package_data={"": ["*.yml"]},
long_description="".join(open("README.md", "r").readlines()),
long_description_content_type='text/markdown',
license='MIT',
author='Jean Maximilien Cadic',
python_requires='>=3.6',
install_requires=[r.rsplit()[0] for r in open("requirements.txt")],
author_email='[email protected]',
description='GNU Tools for python',
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
]
)
To clone and run this application, you'll need Git and https://docs.docker.com/docker-for-mac/install/ and Python installed on your computer. From your command line:
Install the package:
# Clone this repository and install the code
git clone https://github.com/JeanMaximilienCadic/nmesh
# Go into the repository
cd nmesh
Exhaustive list of make commands:
install_wheels
sandbox_cpu
sandbox_gpu
build_sandbox
push_environment
push_container_sandbox
push_container_vanilla
pull_container_vanilla
pull_container_sandbox
build_vanilla
clean
build_wheels
auto_branch
(* recommended)
To build and run the docker image
make build
make docker_run_sandbox_cpu
(* not recommended)
make install_wheels
Content type
Image
Digest
sha256:3921e0397…
Size
827.8 MB
Last updated
about 4 years ago
docker pull cadic/nmesh:sandbox