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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file JavaLib-0.1.tar.gz.

File metadata

  • Download URL: JavaLib-0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for JavaLib-0.1.tar.gz
Algorithm Hash digest
SHA256 1b2c14339d20498f2564ce6a294f1440df4d7f90cf8550c596188f02429c36ea
MD5 45cc104fe6b3ad7446f3a1064b648763
BLAKE2b-256 151b6c49e3f08fe85c694056fdfb70ba213a038ed92b1e5dd938847985f4c93a

See more details on using hashes here.

File details

Details for the file JavaLib-0.1-py3-none-any.whl.

File metadata

  • Download URL: JavaLib-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1262aab613aa3f046c4adea87b27b9ff56a89526127f4460f55a49890c9f196f
MD5 975cc77bf770d8fc7e9a37026a1f1e33
BLAKE2b-256 45027e0e077b4f9eba2c4a70451eb0cd62142cc0b07b68b094eef86fbf02b0e1

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