JavaLib is a Python library that provides several functions and classes to manipulate strings and count the number of elements, using Java language terms.
Project description
JavaLib
JavaLib is a Python library that provides several functions and classes for manipulating strings and counting the number of elements, using Java language terms.
Features
-
The
print()function**: Replaces the built-inprint()function to print output to the console. -
Function
dowo(): Replaces the built-inlen()function to count the number of elements in the object. -
The
type()function: Replaces the built-intype()function to get the type of the object. -
Separator class: This class is used to separate strings based on a specific separator, similar to the
split()function.
Installation
You can install JavaLib by using pip:
pip install JavaLib
Function and Class Explanation
print(*args, **kwargs):
- Replaces the
print()function. - Accepts the same arguments as
print().
dowo(object):
- Replaces the
len()function. - Accepts an object and returns the number of elements in the object.
type(object):
- Replaces the
type()function. - Accepts an object and returns the type of the object.
- Separator Class:
__init__(text):Constructor that accepts strings to split.split(sep=None,maxsplit=-1):Splits the string based on the given separator. If there is no separator, it will split based on spaces.
License
This project is licensed under the Apache License 2.0. See LICENSE for more details.
Contributions
If you would like to contribute to this project, please create a pull request or open an issue in the GitHub repository.
Note: Contributions are only for people who speak Javanese.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file JavaLib-0.2.tar.gz.
File metadata
- Download URL: JavaLib-0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d61fcf8f2d95a36dd5d93725ee2c18368d92f056362645e211f3e8584fd653e
|
|
| MD5 |
1b5f4f7ccefaa2161b765246172373e4
|
|
| BLAKE2b-256 |
5c3d0b25eb7e10b37b3df8b3656a2a0bde5e66d294cc6fb927a58744598e255a
|
File details
Details for the file JavaLib-0.2-py3-none-any.whl.
File metadata
- Download URL: JavaLib-0.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1691e8ee6a284e22882bdf91a61e25b2b0fb5bb2ec96b6b82d781c933c6a4341
|
|
| MD5 |
2466bac9337d424c4e2ed38d68077e56
|
|
| BLAKE2b-256 |
f648ed373d3a0b2f4a12b440cda111442502a3d05bb2cedad5b17bbe961d38e2
|