Skip to main content

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

Project description

generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

This package and 3 other make up ManderaGeneral.

Information

Package Ver Latest Release Python Platform Lvl Todo Cover
generalpackager 0.5 2022-09-01 06:56 CEST 3.8, 3.9 Windows, Ubuntu 2 11 66.9 %

Contents

generalpackager
├─ Information
├─ Contents
├─ Installation
├─ Attributes
└─ Todo

Installation

Command generallibrary generalfile pandas gitpython requests pyinstaller coverage
pip install generalpackager Yes Yes Yes Yes Yes Yes Yes

Attributes

Module: generalpackager
├─ Class: GitHub
│  ├─ Class: GitHub
│  ├─ Class: LocalModule
│  ├─ Class: LocalRepo
│  ├─ Class: Packager
│  ├─ Class: PyPI
│  ├─ Method: download
│  ├─ Method: exists
│  ├─ Method: get_description
│  ├─ Method: get_owners_packages
│  ├─ Method: get_topics
│  ├─ Method: get_website
│  ├─ Property: git_clone_command
│  ├─ Property: pip_install_command
│  ├─ Method: request_kwargs
│  ├─ Method: set_description
│  ├─ Method: set_topics
│  ├─ Method: set_website
│  └─ Property: url
├─ Class: LocalModule
│  ├─ Class: GitHub
│  ├─ Class: LocalModule
│  ├─ Class: LocalRepo
│  ├─ Class: Packager
│  ├─ Class: PyPI
│  ├─ Method: exists
│  ├─ Method: get_all_local_modules
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ Property: module
│  ├─ Property: objInfo
│  └─ Property: path
├─ Class: LocalRepo
│  ├─ Class: GitHub
│  ├─ Class: LocalModule
│  ├─ Class: LocalRepo
│  ├─ Class: Packager
│  ├─ Class: PyPI
│  ├─ Class: Targets
│  ├─ Method: exists
│  ├─ Method: format_file
│  ├─ Method: get_exeproduct_path
│  ├─ Method: get_exetarget_path
│  ├─ Method: get_generate_path
│  ├─ Method: get_git_exclude_path
│  ├─ Method: get_git_ignore_path
│  ├─ Method: get_index_js_path
│  ├─ Method: get_init_path
│  ├─ Method: get_license_path
│  ├─ Method: get_manifest_path
│  ├─ Method: get_metadata_path
│  ├─ Method: get_npm_ignore_path
│  ├─ Method: get_org_readme_path
│  ├─ Method: get_package_json_path
│  ├─ Method: get_package_paths_gen
│  ├─ Method: get_randomtesting_path
│  ├─ Method: get_readme_path
│  ├─ Method: get_setup_path
│  ├─ Method: get_test_js_path
│  ├─ Method: get_test_path
│  ├─ Method: get_test_paths
│  ├─ Method: get_test_template_path
│  ├─ Method: get_workflow_path
│  ├─ Method: git_changed_files
│  ├─ Method: is_django
│  ├─ Method: is_exe
│  ├─ Method: is_node
│  ├─ Method: is_python
│  ├─ Property: metadata
│  ├─ Method: metadata_exists
│  ├─ Method: repo_exists
│  ├─ Property: target
│  ├─ Method: targetted
│  └─ Method: text_in_tests
├─ Class: LocalRepo_Node
├─ Class: LocalRepo_Python
│  ├─ Method: get_venv_path
│  └─ Method: unittest
├─ Class: Packager
│  ├─ Class: GitHub
│  ├─ Class: LocalModule
│  ├─ Class: LocalRepo
│  ├─ Class: Packager
│  ├─ Class: Packages
│  │  └─ Method: all_packages
│  ├─ Class: PyPI
│  ├─ Class: Targets
│  ├─ Method: all_files_by_relative_path
│  ├─ Method: commit_and_push
│  ├─ Method: compare_local_to_github
│  ├─ Method: compare_local_to_pypi
│  ├─ Method: create_blank_locally_python
│  ├─ Method: file_by_relative_path
│  ├─ Property: file_secret_readme
│  ├─ Property: files
│  ├─ Method: filter_relative_filenames
│  ├─ Method: general_bumped_set
│  ├─ Method: general_changed_dict
│  ├─ Method: generate_generate
│  ├─ Method: generate_git_exclude
│  ├─ Method: generate_index_js
│  ├─ Method: generate_init
│  ├─ Method: generate_license
│  ├─ Method: generate_localfiles
│  ├─ Method: generate_manifest
│  ├─ Method: generate_npm_ignore
│  ├─ Method: generate_package_json
│  ├─ Method: generate_personal_readme
│  ├─ Method: generate_randomtesting
│  ├─ Method: generate_readme
│  ├─ Method: generate_setup
│  ├─ Method: generate_test_node
│  ├─ Method: generate_test_python
│  ├─ Method: generate_workflow
│  ├─ Method: get_attributes_markdown
│  ├─ Method: get_badges_dict
│  ├─ Method: get_classifiers
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ Method: get_description_markdown
│  ├─ Method: get_footnote_markdown
│  ├─ Method: get_information_markdown
│  ├─ Method: get_installation_markdown
│  ├─ Method: get_latest_release
│  ├─ Method: get_new_packager
│  ├─ Method: get_ordered_packagers
│  ├─ Method: get_owners_package_names
│  ├─ Method: get_todos
│  ├─ Method: get_todos_markdown
│  ├─ Method: get_topics
│  ├─ Method: get_untested_objInfo_dict
│  ├─ Property: github
│  ├─ Method: github_available
│  ├─ Method: github_link
│  ├─ Method: github_link_path_line
│  ├─ Method: if_publish_bump (Untested)
│  ├─ Method: if_publish_publish (Untested)
│  ├─ Method: is_bumped
│  ├─ Method: is_django
│  ├─ Method: is_exe
│  ├─ Method: is_general
│  ├─ Method: is_node
│  ├─ Method: is_python
│  ├─ Property: localmodule
│  ├─ Method: localmodule_available
│  ├─ Property: localrepo
│  ├─ Method: localrepo_available
│  ├─ Method: name_is_general
│  ├─ Property: pypi
│  ├─ Method: pypi_available
│  ├─ Method: relative_path_is_aesthetic
│  ├─ Method: reserve_name (Untested)
│  ├─ Method: run_ordered_methods
│  ├─ Property: simple_name
│  ├─ Method: summary_packagers
│  ├─ Method: sync_github_metadata
│  ├─ Property: target
│  ├─ Method: upload_package_summary
│  ├─ Method: workflow_sync
│  └─ Method: workflow_unittest
└─ Class: PyPI
   ├─ Class: GitHub
   ├─ Class: LocalModule
   ├─ Class: LocalRepo
   ├─ Class: Packager
   ├─ Class: PyPI
   ├─ Method: download
   ├─ Method: exists
   ├─ Method: get_date
   ├─ Method: get_owners_packages
   ├─ Method: get_tarball_url
   ├─ Method: get_version
   └─ Property: url

Todo

Module Message
localrepo.py Search for imports to list dependencies.
localrepo_python.py Make sure twine is installed when trying to upload to pypi.
localrepo_python.py Look into private PyPI server where we could also do dry runs for test.
metadata_python.py Dynamic values in DataClass to remove LocalRepos and Metadatas.
github.py Get and Set GitHub repo private.
pypi.py Move download to it's own package.
pypi.py Find a faster fetch for latest PyPI version and datetime.
packages.py Generate Python file in generalpackager containing general packages.
packager_markdown.py Sort todos by name to decrease automatic commit changes.
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
packager_files.py Generalize get_new_packager which calls recycle_clear on all attributes.
Generated 2022-09-01 06:56 CEST for commit 6179b60.

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

generalpackager-0.5.tar.gz (38.3 kB view hashes)

Uploaded Source

Built Distribution

generalpackager-0.5-py3-none-any.whl (43.7 kB view hashes)

Uploaded Python 3

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