Skip to main content
Full Example 1 Full Example 2

What started out as a simple generative art project and experiment, built off of numpy, has now become an API, specifically pertaining to a point(s) reproducing in an image, with changing colors, and even environment-sensitive reproduction, with obstacles.

Quick start

Use the command $ pip install expansion-raj-csh to install. If this fails, you might have to prefix the command with python3 -m on MacOS/Linux, or python -m on Windows. If that fails, try changing pip to pip3, or use the --user argument just before expansion_raj_csh.

Docs

Documentation can be found at the Github Pages for this repository.

Examples

See the examples directory to see some examples, as well as an example script.

Prerequisites

It is recommended to create a virtual environment before installing, to ensure that there are no conflicts with the system-wide python installation, or if administrator permissions are unavailable. This can be done with the $ python3 -m venv <ENVIRONMENT_NAME> or $ python -m venv <ENVIRONMENT_NAME>commands, depending on the OS, where <ENVIRONMENT_NAME> is the name of the virtual environment. This can be activated with the $ source <ENVIRONMENT_NAME>/bin/activate command on Unix, or the <ENVIRONMENT_NAME>\Scripts\activate.bat command on Windows.

Installing from source

  1. Ensure that you have Python 3 installed on your system.

You can test this by running $ python3 --version on the command line. If this fails, try running $ python --version and seeing if you get a version number that begins with a 3, e.g. Python 3.8.2.

If that fails, it most likely means that Python 3 is not installed on your system.

To install Python 3, go to the Downloads page of the Python website, and make sure you install Python 3.

  1. Check that pip is installed.

You can test this by running $ pip --version on the command line. If this fails, you might have to prefix the command with python3 -m on MacOS/Linux, or python -m on Windows. If that fails, try changing pip to pip3.

If that fails, it most likely means that pip is not installed on your system.

To install pip, follow the guide on the Python Packaging Authority (PyPA) website.

  1. Clone the git repository.

This can be done via the git clone https://github.com/Raj-CSH/Expansion.git command, if git is installed on your system. This can be checked via the $ git --version command.

If that fails, it most likely means git is not installed on your system.

To install git, follow the guide on the Git website.

  1. Install pipenv.

Run the command $ pip install pipenv to install pipenv If this fails, you might have to prefix the command with python3 -m on MacOS/Linux, or python -m on Windows. If that fails, try changing pip to pip3.

If you’re still having problems, consult the official Python Packaging Authority (PyPA) website.

  1. Install dependencies.

Move into the directory of the cloned git repository via the $ cd Expansion command. Install the dependencies via the $ pipenv install command. If this fails, you might have to prefix the command with python3 -m on MacOS/Linux, or python -m on Windows.

  1. Activate the virtual environment.

Activate the virtual environment via the $ pipenv shell command. If this fails, you might have to prefix the command with python3 -m on MacOS/Linux, or python -m on Windows. To deactivate the virtual environment once you’re done, run the $ exit command.

  1. Update setuptools.

Run the command $ pip install --upgrade setuptools to update setuptools.

  1. Build via setuptools.

In the same directory as setup.py, run the $ python3 setup.py sdist bdist_wheel or the $ python setup.py sdist bdist_wheel commands, depending on your OS. This will generate a ‘dist’ folder, containing the ‘.whl’ file that can be installed via pip.

  1. Install the wheel.

Navigate into the dist folder via the command $ cd dist. Then run $ pip install expansion_raj_csh-<VERSION_NUMBER>-py3-none-any.whl, where <VERSION_NUMBER> is the version of the expansion package. This can be checked by looking at the version number in the filename of the wheel.

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Release files for expansion-raj-csh 1.0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for expansion-raj-csh 1.0.2.2
File Size Uploaded
expansion-raj-csh-1.0.2.2.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for expansion-raj-csh 1.0.2.2
File Interpreter ABI Platform
expansion_raj_csh-1.0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / expansion-raj-csh-1.0.2.2.tar.gz

Download URL expansion-raj-csh-1.0.2.2.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fc155dab3ff8db3e751945bbc52d8a8cecc4e5a6aea1ebcf50d0ebe7334b6bd3
BLAKE2b-256 checksum
How to use checksums
0582511e151578aa8dc749b003c9bae4b13d534281c127dc5851632c7be879fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Release files / expansion_raj_csh-1.0.2.2-py3-none-any.whl

Download URL expansion_raj_csh-1.0.2.2-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e1a16c842aa3957b109a574cbfcf17769c3d199610751936ba421abf82d7d34
BLAKE2b-256 checksum
How to use checksums
1318446daf78e42396c6334870be9ace9dc3a149dfc8d0d5cb89924b513b5443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.2.2 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page