An open API service indexing awesome lists of open source software.

https://github.com/ruben-arushanyan/py-like

Py-like is a JavaScript library that allows coding in JavaScript just like in Python. In JavaScript, Py-like provides a Python-like interface for working with data types, structures, and functions.
https://github.com/ruben-arushanyan/py-like

javascript js-python-api js-python-interface js-python-methods js-python-set js-python-tuple py-like python python-in-javascript python-like

Last synced: about 1 month ago
JSON representation

Py-like is a JavaScript library that allows coding in JavaScript just like in Python. In JavaScript, Py-like provides a Python-like interface for working with data types, structures, and functions.

Awesome Lists containing this project

README

        

# [Py-like](https://py-like.js.org)
> You can find the full documentation on the [website](https://py-like.js.org)

## Description

**Py-like** is a JavaScript library that allows coding in JavaScript just **like in Python**.

In JavaScript, Py-like provides a **Python-like interface** for working with **data types**, **structures**, and **functions**.
It's no secret that Python provides a more comfortable, easy, intuitive, and powerful interface for working with data types and structures. This library will allow the opportunity to use Python's all power in JavaScript.

## Installation

```
npm install py-like
```

## Examples

#### In JavaScript
```js
import {py} from 'py-like'

py('hello world').title() // Hello World

```
#### In Python
```py
'hello world'.title() # Hello World
```

## [Documentation](https://py-like.js.org)

- [Introduction](https://py-like.js.org/docs/introduction)
- str
- [title()](https://py-like.js.org/docs/str/title)

## [Contributing](https://github.com/ruben-arushanyan/py-like/blob/master/CONTRIBUTING.md)

Read our [contributing guide](https://github.com/ruben-arushanyan/py-like/blob/master/CONTRIBUTING.md) to learn about our development process.

## [Code of Conduct](https://github.com/ruben-arushanyan/py-like/blob/master/CODE_OF_CONDUCT.md)

This project has adopted the [Contributor Covenant](https://www.contributor-covenant.org) as its Code of Conduct, and we expect project participants to adhere to it. Please read the [full text](https://github.com/ruben-arushanyan/py-like/blob/master/CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated.

## Authors

- [Ruben Arushanyan](https://github.com/ruben-arushanyan)

## License

[MIT License](https://github.com/Ruben-Arushanyan/py-like/blob/master/LICENSE)