Skip to main content

Create the file for PyPi project.

Project description

Example Package

This is a simple example package. You can use Github-flavored Markdown to write your content.

#!/usr/bin/python

import os
'''
    *os* and *os.path* modules include many functions to interact with the file system.
'''
import shutil

def create():

    application = input("The name of application: ")
    cwd = os.getcwd()+'/'+application
    print(cwd)
    os.mkdir(cwd)
    os.chdir(cwd)

    os.system("touch LICENSE")
    os.system("touch README.md")
    os.system("touch pyproject.toml")
    
    cwd_1 = os.getcwd()+'/'+'src'
    print(cwd_1)
    os.mkdir(cwd_1)
    
    os.chdir(cwd_1)
    cwd_2 = os.getcwd()+'/'+application
    os.mkdir(cwd_2)
    
    os.chdir(cwd_2)
    os.system("touch __init__.py")
    os.system("touch main.py")

#create()

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

create_pypi_files-0.0.3.tar.gz (92.5 kB view details)

Uploaded Source

Built Distribution

create_pypi_files-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file create_pypi_files-0.0.3.tar.gz.

File metadata

  • Download URL: create_pypi_files-0.0.3.tar.gz
  • Upload date:
  • Size: 92.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for create_pypi_files-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ecb4edb10f02c4ccd8201c08194e1d2f102201b79841f404ef5a1b0847aec782
MD5 6cf2814a00f7a308945811cacbb674b9
BLAKE2b-256 5aa010d990856f6a2c75c810e9bb404d4f7d868d85de86bd6342c2d7aabbb57b

See more details on using hashes here.

File details

Details for the file create_pypi_files-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for create_pypi_files-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19878538d27d9d74f919e7fc710751a3c6da8150e090111602f441631239e996
MD5 f5305717d9513e60aa6e37b2efaacf62
BLAKE2b-256 a08e3f9cdf1059b9cd030f061608ac81f73fe91be5e1cb74ce8ed48c2c6768ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page