Skip to main content

GNU Tools for python

Project description


NMesh

ModulesCode structureInstalling the applicationMakefile commandsEnvironmentsRunning the application Ressources

NMesh is a Python package that provides two high-level features:

  • A simple Mesh processor
  • A list of tool to convert mesh files into point cloud

You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend ZakuroCache integration.

Modules

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.pc Processor for the point cloud
nmesh.tests Unit tests

Code structure

from setuptools import setup
from nmesh import __version__
setup(
    name='nmesh',
    version=__version__,
    packages=[
        "nmesh",
        "nmesh.core",
        "nmesh.pc",
        "nmesh.tests"
    ],
    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='support@cadic.jp',
    description='GNU Tools for python',
    classifiers=[
        "Programming Language :: Python :: 3.6",
        "License :: OSI Approved :: MIT License",
    ]
)

Installing the application

To clone and run this application, you'll need the following installed on your computer:

Install the package:

# Clone this repository and install the code
git clone https://github.com/JeanMaximilienCadic/nmesh

# Go into the repository
cd nmesh

Makefile commands

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
build_wheels
auto_branch 

Environments

Docker

Note

Running this application by using Docker is recommended.

To build and run the docker image

make build
make sandbox

PythonEnv

Warning

Running this application by using PythonEnv is possible but not recommended.

make install_wheels

Running the application

from nmesh import NMesh, cfg
m = NMesh(cfg.drive.bull)
m.show()

Ressources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nmesh-0.1.3a2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file nmesh-0.1.3a2-py3-none-any.whl.

File metadata

  • Download URL: nmesh-0.1.3a2-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for nmesh-0.1.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 8321c429a22d6e115efc4cdd49f934ea8e37f46e58e61d744fb5ff62bd2fae6b
MD5 55e4fdacd1ea96b5ecf628ec78b89a14
BLAKE2b-256 35493647bdb326f9e360449fa4513f4493f064f3c03a9fe9d8c267539ba235c7

See more details on using hashes here.

Supported by

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