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_sathishdhuda-0.1.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

pydistribute_sathishdhuda-0.1.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pydistribute_sathishdhuda-0.1.1.tar.gz
Algorithm Hash digest
SHA256 48ef83168a3e204442475108e0284b44e119331aae22e4bf00f1e1dcbbf99704
MD5 d72732b6ef884514af85fb82d64aee6d
BLAKE2b-256 401e375bece5dc96af7f4b51e9190979eb908e2e6bcf34614e40e91fda216381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydistribute_sathishdhuda-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b192788ed878e1ec149df866b5f03a95913d49a4078fe37f34f5a709491dc48
MD5 3f312792d5218c21de1a6c37807090f0
BLAKE2b-256 db90847c8c69cac919d2eb692c6ef94f500a44a01094c25899b1258c4379a133

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