Skip to main content

A GUI tool for creating and publishing Python modules to PyPI

Project description

NLTKK - Natural Language Toolkit Kit

A comprehensive NLP toolkit with functions for text processing, analysis, and more.

Features

  • Plural word detection
  • Text splitting
  • Stemming and lemmatization
  • Stop word removal
  • Sentence tokenization
  • Edit distance calculation
  • N-gram models
  • Bigram probability calculation
  • Kneser-Ney smoothing
  • Sentiment analysis
  • Text chunking
  • POS tagging
  • HMM POS tagging
  • Named Entity Recognition
  • Markov Chains
  • Thematic Role Labeling
  • PropBank lookup
  • FrameNet lookup
  • Relation extraction
  • Relation classification

Installation

pip install nlltk

Usage

import nltkk

# Example usage
text = "Hello! How's everything going? Let's meet at 5:00 pm. #excited"
words = nltkk.split(text)
print(words)

Simple Module Manager

This package also includes a GUI application for creating and publishing your own Python modules:

Features

  • Create Python modules by entering module name and code
  • Build distribution packages (wheel and source distributions)
  • Publish to PyPI or TestPyPI for public access
  • Simple and intuitive interface

Running the Module Manager

simple-module-manager

Or run directly:

python simple_module_manager.py

How to Publish Your Module

  1. Run the Simple Module Manager
  2. Enter a unique module name
  3. Write or paste your Python code
  4. Click "Create Module"
  5. Click "Build Module"
  6. Enter your PyPI API token
  7. Click "Publish Module"

Getting PyPI API Tokens

  1. Go to https://pypi.org/manage/account/
  2. Scroll down to "API tokens"
  3. Click "Add API token"
  4. Give it a name and select scope
  5. Copy the token and paste it in the application

Making Your Module Publicly Accessible

When you publish to PyPI:

  1. Your module becomes publicly available
  2. Anyone can install it with pip install your-module-name
  3. They can import and use your functions and classes in their projects

This makes your code accessible to the entire Python community!

PyDistribute

A GUI tool for creating and publishing Python modules to PyPI.

Features

  • Simple graphical interface for package creation
  • Automatic generation of setup files
  • One-click package building and publishing
  • Usage guide generation
  • Real-time console output with colored logging

Installation

pip install pydistribute

Usage

After installation, you can run PyDistribute in several ways:

  1. From the command line:

    pydistribute
    
  2. From Python:

    import pydistribute
    pydistribute.run()
    
  3. Using the batch file (Windows):

    run_pydistribute.bat
    

Publishing Your Package

  1. Enter your module information (name, version, author, etc.)
  2. Paste your Python code in the editor
  3. Click "Generate Setup" to create all necessary packaging files
  4. Click "Build Package" to create the distributable files
  5. Enter your PyPI API token
  6. Click "Publish to PyPI"

Getting a PyPI API Token

  1. Go to https://pypi.org/ and log in to your account
  2. Navigate to Account Settings → API tokens
  3. Click "Add API token"
  4. Give it a name and select scope (entire account or specific project)
  5. Copy the token and use it in the GUI

Requirements

  • Python 3.6 or higher
  • pip
  • A PyPI account and API token

Security Notes

  • Your PyPI API token is stored only in memory and is not saved to disk
  • Never share your API token with others
  • For added security, use a token with limited scope

License

This project is licensed under the MIT License.

Troubleshooting

Error: 403 Forbidden when publishing

  • Make sure your API token is correct and has the necessary permissions
  • Ensure you're using a valid token from https://pypi.org/manage/account/
  • Try creating a new token if the current one isn't working

Error: No built package found

  • Make sure you clicked "Build Package" before trying to publish

Error: Failed to install build tools

  • Make sure you have internet connection
  • Try running pip install build twine manually

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

pydistribute-0.1.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

pydistribute-0.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pydistribute-0.1.1.tar.gz.

File metadata

  • Download URL: pydistribute-0.1.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pydistribute-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6dccb741cd7e578ae59a975cab58417cfd8c8ecc817fc003c9d0f7cce4c22d76
MD5 4b20e98d591e8302eeed70d8e49b5b6c
BLAKE2b-256 2adfbcf95cf3b865d9506a088f5f6a50c85b8a8201f81d176b554bd50dc479d4

See more details on using hashes here.

File details

Details for the file pydistribute-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pydistribute-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pydistribute-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81ee9b9bb64f3f1256b983af6ea3a06c3b5bb36c30ac6a5d4a1bdc1da4505247
MD5 12c5ce44bb6b113e4b73de44e7c3a260
BLAKE2b-256 75fe67842eeea7b862d193cb4bc431429f21f71405f5037e27157d8f49a1676e

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