Skip to main content

Normalize Python block and indentation technique.

Project description

# Npy
Normalize Python block and indentation technique


[![PyPI](https://img.shields.io/badge/pypi-v3.12.0-green.svg?style=flat)](https://pypi.python.org/pypi/npy/)
[![Twitter](https://img.shields.io/badge/twitter-ZviWex-4099FF.svg?style=flat)](https://twitter.com/ZviWex)
[![GNU License](https://img.shields.io/badge/license-GNU-blue.svg?style=flat)](https://www.gnu.org/licenses/gpl-3.0.en.html)
[![WebSite](https://img.shields.io/website-down-red/http/shields.io.svg?label=website)](https://ZviWex.com)
# Usage
## As runner
You can write your program in .npy file with the right way to indexnt and to crate blocks, and then run the normalyze.py parser on the file/repo

```sh
python normalyze.py file_path
python normalyze.py -d dir_path
python normalyze.py -h
```
The normalyze.py file will be at <Python dir>\Scripts

This options is to convert the .npy file (normal indentation file) to a .py file (readable to python interpreter)

## As module
You can write your code this way and run it directly from python interptreter

```python
import npy; exec(npy.run("""

# Your code goes here
"-"-"
Lined raw string will look like this
"-"-"

"""),globals())
```
Note - this supports modules too.

# Installation

```sh
python -m pip install --upgrade pip
python -m pip install --upgrade npy
```

# Contact
If you have any questions feel free to ping me
at [here](https://ZviWex.com/) to connect.
There is also a [mail address](mailto:zvikizviki@gmail.com) for higher latency discussion.


Project details


Download files

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

Source Distribution

npy-1.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

npy-1.0.3-py2-none-any.whl (4.4 kB view details)

Uploaded Python 2

File details

Details for the file npy-1.0.3.tar.gz.

File metadata

  • Download URL: npy-1.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for npy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 918d52f5b6543c0f78f720a81acdb50a7f8f71a9eb5a7c8bef3c819fa74c351e
MD5 c27cb605f6288f6fa30445a1e923a422
BLAKE2b-256 e4fed7cb226c61915af9c6d44742d38cbf980ba08a9e045a36a79a52710e682b

See more details on using hashes here.

File details

Details for the file npy-1.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for npy-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 f60a6d0555767b57fec4ad1d04cc311adbc84ebc22192ec75d2c2a26982a9efa
MD5 de4cb26f1abb4435e7c2956d946c5144
BLAKE2b-256 2f76d0682f37213814b69c96c29c35ab717035eee7d32d80f05a2c55d97f8a18

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