Skip to main content

Tools to interface GitHub, PyPI 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 and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

This package and 6 other make up ManderaGeneral.

Information

Package Ver Latest Release Python Platform Lvl Todo Tests
generalpackager 0.3.14 2022-06-21 09:13 CEST 3.8, 3.9 Windows, Ubuntu 5 9 86.7 %

Contents

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

Installation

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

Attributes

Module: generalpackager
├─ Class: GitHub
│  ├─ Method: download
│  ├─ Method: exists
│  ├─ Method: get_description
│  ├─ Method: get_owners_packages
│  ├─ Method: get_topics
│  ├─ Method: get_website
│  ├─ Method: is_general
│  ├─ Method: set_description
│  ├─ Method: set_topics
│  └─ Method: set_website
├─ Class: LocalModule
│  ├─ Method: exists
│  ├─ Method: get_all_local_modules
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ Method: get_env_vars
│  ├─ Method: is_general
│  ├─ Property: module
│  └─ Property: objInfo
├─ Class: LocalRepo
│  ├─ Method: bump_version
│  ├─ Method: create_sdist
│  ├─ Property: description
│  ├─ Property: enabled
│  ├─ Method: exists
│  ├─ Property: extras_require
│  ├─ Method: format_file (Untested)
│  ├─ Method: generate_exe (Untested)
│  ├─ Method: get_exeproduct_path (Untested)
│  ├─ Method: get_exetarget_path (Untested)
│  ├─ Method: get_generate_path (Untested)
│  ├─ Method: get_git_exclude_path
│  ├─ Method: get_init_path
│  ├─ Method: get_license_path
│  ├─ Method: get_manifest_path
│  ├─ Method: get_metadata_dict
│  ├─ Method: get_metadata_path
│  ├─ Method: get_org_readme_path (Untested)
│  ├─ Method: get_package_paths_gen
│  ├─ Method: get_path_from_name
│  ├─ Method: get_randomtesting_path (Untested)
│  ├─ Method: get_readme_path
│  ├─ Method: get_repo_path_child
│  ├─ Method: get_repo_path_parent
│  ├─ Method: get_repos_path
│  ├─ Method: get_setup_path
│  ├─ Method: get_test_path
│  ├─ Method: get_test_paths
│  ├─ Method: get_test_template_path (Untested)
│  ├─ Method: get_workflow_path
│  ├─ Method: git_changed_files
│  ├─ Method: has_metadata
│  ├─ Property: install_requires
│  ├─ Method: is_general
│  ├─ Method: load_metadata
│  ├─ Property: manifest
│  ├─ Property: name
│  ├─ Method: path_exists
│  ├─ Method: pip_install
│  ├─ Method: pip_uninstall
│  ├─ Property: private (Untested)
│  ├─ Method: replace_camel_case (Untested)
│  ├─ Method: replace_docstrings (Untested)
│  ├─ Method: text_in_tests
│  ├─ Property: topics
│  ├─ Method: unittest
│  ├─ Method: upload
│  ├─ Property: version
│  └─ Method: write_metadata
├─ Class: Packager
│  ├─ Method: commit_and_push
│  ├─ Method: compare_local_to_github
│  ├─ Method: compare_local_to_pypi
│  ├─ Method: create_blank_locally (Untested)
│  ├─ Method: exists
│  ├─ Method: filter_relative_filenames
│  ├─ Method: general_bumped_set
│  ├─ Method: general_changed_dict
│  ├─ Method: generate_generate (Untested)
│  ├─ Method: generate_git_exclude
│  ├─ Method: generate_init (Untested)
│  ├─ Method: generate_license
│  ├─ Method: generate_localfiles
│  ├─ Method: generate_manifest
│  ├─ Method: generate_personal_readme
│  ├─ Method: generate_randomtesting (Untested)
│  ├─ Method: generate_readme
│  ├─ Method: generate_setup
│  ├─ Method: generate_test_template (Untested)
│  ├─ 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_env
│  ├─ 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_sync_job
│  ├─ Method: get_todos
│  ├─ Method: get_todos_markdown
│  ├─ Method: get_topics
│  ├─ Method: get_triggers
│  ├─ Method: get_unittest_job
│  ├─ Method: get_untested_objInfo_dict
│  ├─ Method: github_link
│  ├─ Method: github_link_path_line
│  ├─ Method: if_publish_bump
│  ├─ Method: if_publish_publish
│  ├─ Method: is_bumped
│  ├─ Method: is_general
│  ├─ Method: relative_path_is_aesthetic
│  ├─ Method: reserve_name
│  ├─ Method: run_ordered_methods
│  ├─ Property: simple_name (Untested)
│  ├─ Method: spawn_children
│  ├─ Method: spawn_parents
│  ├─ Method: step_install_necessities
│  ├─ Method: step_install_package_git
│  ├─ Method: step_install_package_pip
│  ├─ Method: step_run_packager_method
│  ├─ Method: step_setup_python
│  ├─ Method: step_setup_ssh (Untested)
│  ├─ Method: steps_setup
│  ├─ Method: sync_github_metadata
│  ├─ Method: upload_package_summary (Untested)
│  ├─ Method: workflow_sync
│  └─ Method: workflow_unittest
└─ Class: PyPI
   ├─ Method: download
   ├─ Method: exists
   ├─ Method: get_date
   ├─ Method: get_owners_packages
   ├─ Method: get_tarball_url
   ├─ Method: get_version
   └─ Method: is_general

Todo

Module Message
local_repo.py Search for imports to list dependencies.
local_repo.py Decoupled JSON serialize instructions with custom dumps in lib.
local_repo.py Make sure twine is installed when trying to upload to pypi.
pypi.py Move download to it's own package.
pypi.py Find a faster fetch for latest PyPI version and datetime.
github.py Get and Set GitHub repo private.
packager_markdown.py Sort todos by name to decrease automatic commit changes.
packager.py Prevent workflow using pypi to install a general package.
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
Generated 2022-06-21 09:13 CEST for commit f370c53.

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.3.14.tar.gz (29.3 kB view hashes)

Uploaded Source

Built Distribution

generalpackager-0.3.14-py3-none-any.whl (34.0 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