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

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.1.0a1.tar.gz (9.4 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.1.0a1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyextender-1.1.0a1.tar.gz
Algorithm Hash digest
SHA256 a3a3dae3eb50a6a8224bf5363d705ffb243c638266151ceaa3e81f62b8b70aa6
MD5 cfa6e4dd491da84b829c54c4c866c269
BLAKE2b-256 53bf6e3a4c2d401aabdf24a448908df7a141d5fa15ff0fc086300ad4486092d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyextender-1.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb8a889c97c2ff0b31449e83ffdf5752622b285bb48a2136bb7afc61aee576bf
MD5 4bfb5aade0306ebe9dfa5129f3992c35
BLAKE2b-256 738a7599ca6450041a840780958c64371fd733d9d3dea9ed1c303517d2af323e

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