Skip to main content

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-in print() function to print output to the console.

  • Function dowo(): Replaces the built-in len() function to count the number of elements in the object.

  • The type() function: Replaces the built-in type() 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

  1. print(*args, **kwargs):
  • Replaces the print() function.
  • Accepts the same arguments as print().
  1. dowo(object):
  • Replaces the len() function.
  • Accepts an object and returns the number of elements in the object.
  1. type(object):
  • Replaces the type() function.
  • Accepts an object and returns the type of the object.
  1. 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


Download files

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

Source Distribution

JavaLib-0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

JavaLib-0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for JavaLib-0.2.tar.gz
Algorithm Hash digest
SHA256 7d61fcf8f2d95a36dd5d93725ee2c18368d92f056362645e211f3e8584fd653e
MD5 1b5f4f7ccefaa2161b765246172373e4
BLAKE2b-256 5c3d0b25eb7e10b37b3df8b3656a2a0bde5e66d294cc6fb927a58744598e255a

See more details on using hashes here.

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

Hashes for JavaLib-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1691e8ee6a284e22882bdf91a61e25b2b0fb5bb2ec96b6b82d781c933c6a4341
MD5 2466bac9337d424c4e2ed38d68077e56
BLAKE2b-256 f648ed373d3a0b2f4a12b440cda111442502a3d05bb2cedad5b17bbe961d38e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page