Skip to content

Some JS functions written in Python for learning purposes.

Notifications You must be signed in to change notification settings

josex2r/python_js

Repository files navigation

python_js

python_js is a simple Python module which ports some JS functions to Python.

This is not production safe and it's made for learning purposes. I know this is not Pythonic's stylish but it's just a playground to learn some basics about this language.

Features

  • Some array methods
  • Type checking
  • Linter
  • Local publishing using Pypi test environment.
  • Automatic publish using Github Actions + semantic-release
  • Local & CI testing using tox

Requirements

  • python >= 3.10
  • pipenv

Install

pipenv install

Running linters

pipenv run lint

Running tests

Run all tests using tox:

tox

Using the current python version:

pipenv run test

Publish

Test Pypi from local:

pipenv run publish_raw

About

Some JS functions written in Python for learning purposes.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages