Overview
Codpy is a kernel based, open source software library for high performance numerical computations relying on the RKHS theory.
It contains a set of core tools that we use for machine Learning, statistics and numerical simulations, see our introduction to codpy for a review of the method, as well as several examples running this library.
Please refer to ReadTheDoc for the technical documentation.
Warning: codpy versions 0.1.XX are alpha versions in early development stage and will be subject to rapid changes without down compatibilities.
Technical requirement
This version of the library is multi-core CPU architectures, and is tested on
- windows / amd64 platforms
Installation
Note: this installation process has been tested on
- windows / amd64 platform
prerequisite
Minimum installation
- python3.9.XX: a valid python python 3.9 installation.
NOTE : Python installations differ from one machine to another. The python root folder is denoted "<path/to/python39>" in the rest of this document. The software Everything, or other finding files tools can be useful locating the file python.exe on windows machine...
Dev installations
For information, we list the softwares that we are using for our dev configuration :
- GitHub Desktop
- R: use any CRAN mirror for download
- RStudio: see the download link, then choose the free version
- MiKTEX: see the download tab
- Everything
- Visual Studio Code
Those installations should be fine using the latest (64 bits) version and the default settings for each software .
Note Once R and RStudio are installed, open the latter. In the console, enter "install.packages("rmarkdown")" to install RMarkdown.
Cloning repo
Download the codpy repo at codpy alpha to your location <path/to/codpyrepo>
Installation
prerequisite
We suppose that there is a valid python installation on the host machine. The reader can
- either use its main python environment
<path/to/python39> - or create a virtual python environment
<path/to/venv>, generally an advisable practice.
First open a command shell cmd, create a virtual environment and activate it using the commands
python -m venv .\venv
.\venv\Scripts\activate
NOTE : In the rest of the installation procedure, we consider a virtual environment <path/to/venv>. One can replace with <path/to/python39> if a main environment installation is desired, for dev purposes for instance.
pip install codpy
Open a command shell cmd, and pip install codpy
pip install codpy==0.XX.XX
or from the local repository
pip install <path/to/codpyrepo>/dist/codpy-XXXX.whl
The installation procedure might take some minutes depending on your internet connection.
Test codpy
open a python shell and import codpy
python
import codpy
Testing with Visual Studio Code
You can your visual studio installation.
-
With Visual Studio Code, open the
<path/to/codpyrepo>folder and select for instance the file<path/to/codpyrepo>/test/1NN_estimation_rate.py -
If required, select your python interpreter to the virtual environment one (Shift+P)
-
Hit F5. If everything works, you should have some figures after one or two minutes.
Metadata
Release files for codpy 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codpy-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / codpy-0.2.1-py2.py3-none-any.whl
| Download URL | codpy-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 78.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d1932f19c4bdf9e5d9d9fe55b21c3c75bebd9b0d2931ae333b028e831e896f65
|
|
BLAKE2b-256 checksum How to use checksums |
5f147adf2cb9a04c7313cc5b98c8dbc6d1bff6af9b9a095b13f75ffc3aec35d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Security for codpy 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.