Skip to main content

A simple Python extension toolkit.

Project description

PyExtender

Python Version License PyPI Version Status

A simple Python extension toolkit.

Features

  • Automated Code Generation: Dynamically create functions, lists, and variables in Python files using the pyassist module.
  • File Utilities: Easily create and output to files with the bcfo module.
  • Enhanced Randomness: Generate seeds and random numbers via the PErandom module.

Download

We need to download PyExtender from PyPI:

pip install PyExtender

or

git clone https://github.com/bzjsmdl/PyExtender.git
cd PyExtender
pip install .

Basic Usage

Output Function

The output function is primarily used for writing data to files.

input:

import PyExtender

output("Hello,World!", "text.txt")
#output(text:str,file:str)

Now,let's open the file text.txt.(The file will be automatically created if it does not already exist)

output:

Hello,World!

Create Funtion

The create funtion can create a file,like this:

input:

import PyExtender

create("test.txt")

Now,you can see file test.txt:

#Note: Assuming the file is located in this directory.
----test
|
|------test.py
|
|------test.txt   #create file

See More Functions

Frequently Asked Questions (FAQ)

Q1:

Does PyExtender support Python 2 or versions below Python 3.6?

A1:

No, it requires Python 3.6 or higher.


Q2:

Where can I report bugs?

A2:

Please open an issue on our GitHub Issues page.


Q3:

Where can I find the full documentation?

A3:

Sorry, our official documentation isn't ready yet.

License

This project is licensed under the MIT License - see the License file for details.

Acknowledgements

  • Thanks to the Python community for inspiration and tools.

  • Thanks to all contributors and users for their support.

Contact

From the Maintainer

Well,if you're reading this, you've got some serious patience -- though I suspect you might have just skipped to the end. But my English isn't very good.So, The vast majority of the text was translated using AI (DeepSeek). If you're wondering why, the answer is simple: internationalization.

It took me a long time to make the package.

Well, let me tell you my story:

In third or fourth grade, an idea suddenly hit:"Why don't I learn how to program?"

My father knew, so he bought a Python book for me. I was happy when it arrived. At the beginning, I saw the book every day. But,it was difficult for me at that time. So, I just gave up.

After two or three years, I took two months to finish reading the book. I just knew "Python" isn't hard. Then I made a very basic game.

Now,I'm learning C. Although, I don't know why am I learning it.

(Another thing: I'm a middle school student.)

This is my story. And here is the package's story.

I made the package in August or September.At the beginning, I only wrote two functions in the package. Then, I gave up. A few days ago, I added another 10 functions to it. And so, "PyExtender" was born.

Thank you for watching, and thank you for downloading.

I don't have much to say, just wishing you good morning,good afternoon and good night.


written by Maintainer cnong

September 20th, 2025

10:56 PM

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

pyextender-1.0.1a1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

pyextender-1.0.1a1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pyextender-1.0.1a1.tar.gz.

File metadata

  • Download URL: pyextender-1.0.1a1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyextender-1.0.1a1.tar.gz
Algorithm Hash digest
SHA256 db5c1d54ad7444f929c9f4528c676f4a6416bfe005d3098b61fd28f847091cbe
MD5 9f98478993b99f39f02b840b057b963f
BLAKE2b-256 3ac6c8d40b31130f53922fa98586430d3f77a40d5cb1cb9e3edca3fc2dc3b521

See more details on using hashes here.

File details

Details for the file pyextender-1.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: pyextender-1.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyextender-1.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 181640aa1e17860dcabd999912c7b1d4bbc883c813af479fa02fefd5f516e202
MD5 56ec978a36bd30096fb0820207369c58
BLAKE2b-256 bf549141ed4d1ae59907411e5406f559ba7e34c4c2e75d297d61514c80e42b49

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