Skip to main content

The Python program I'm distributing for the first time

Project description

hello-pysatellite

  • The Python program I'm distributing for the first time

image

View at:

INSTALL

$ pip install hello-pysatellite

USE IMPORT

python
Python 3.8.18 (default, Oct 17 2023, 20:11:17)
[GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from hello_pysatellite.who import lotto
>>> lotto()
[3, 6, 16, 19, 20, 29]
>>> lotto()
[16, 21, 26, 27, 32, 44]
>>>

USE CLI

$ hello-pysatellite-pic


                                                  .:^:.
                                                ^!~~~~!!
                                               ~!^^^^~!7
                                               7!!!7!?J~^^^:.
                                             .^7!~~~~~^~~~~~~~~^.
                                            :!~~~7???!~~~~~~~~~~!~:
                                           ^7~~~~~~^^~~~~~~~~~~~~~!!~^~~~~^:
                                        .:^!~~~~^^^~~~~~~~~~~~~~~^^~?7~~~~~!^
                                     .^~~~~^~~~~!Y!^^^^~~~~~~~~~~??^~J!~~~~!~
                                    :!~~~~~~~~~~?Y!~!!~~^~~~~~~~~~5!^7!!!!~^
                                    7~~~~~~~~~~~^^^JGGPY?~~~^^~~~^!!!!
                                   .?^~~~~~!J7~~~~^5&&&&P7~^?J^~~~^!7
                                 .^!5~~~~~~^J~~~~~~~7J?7!~~~YJ~~~~^7:
                                ~J5YP!^~~~~^??^~~~~~^^^^^~^~^^~~~~~~^
                                J5Y5P5~^^~~~~J?~^^^^^~^^~!?~~~~~~~~~!.
                                :JP555Y?!~^~~^7??7!!!!!!77!~~~~~~~^~!
                              ^?YYY5555Y5Y?~^~^~~!!!!!!~~^^~~~~^^^!!.
                            .?5Y5PYYYYYYYY5Y7^~~~^^^^^^^^^^^^^~!?Y~
                          .~J5YYP5YYYYYYYYYY5J^^~^^^~~~!!!!7?Y555?.
                         !Y5YY55YYYYYYYYYYYYY5J~~!7JJYYYYY55555557.
                         ?P5Y55YYYYYYYYYYYYYYY5YY5YYYY55PPGGP555YYY:
                        :7?5P5YYYYYYYYYYYYYY5555YYY555PP55YYYY5PYYYY.
                        !~^!P555555YYYYYYYYYYYY55555YYYYYYYYYYY55YYYY^
                       .7^~~JP?~!7?Y555YYYYYYYYYYYYYYYYYYYYYYYY5GYY55!.
                       .J~~~~J~~^^^^~7JY555YYYYYYYYYYYYYYYYY55Y??5Y7~~!.
                        ~?~^!7^~~~~~^^^~!7JYY5555555555555YJ?!~^^77^~~~~
                         :7!?!^~~~~~~~~~^^^^~~!77?????77!~~^^^~~~^?!^~~!
                           :7!^~~~~~~~~~~~~~~~^^^^^^^^^^^~~~~~~~~~~?~~7:
                            :7^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^7?!.
                             7~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^!^
                             :!^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^!.
                              ~!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~!

DEV

$ git clone ...
$ cd hello-pysatellite
$ pdm venv create
$ source .venv/bin/activate
(hello-pysatellite-3.8) $ pdm install

TEST

$ pdm add -dG test pytest pytest-cov
$ pytest
$ pytest -s
$ pytest --cov

DEPLOY

$ pdm publish

Contributing

$ git branch 0.2.0/very-small-function

$ git checkout 0.2.0/very-small-function
Switched to branch '0.2.0/very-small-function'

$ vi pyproject.toml

$ git status
On branch 0.2.0/very-small-function
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   pyproject.toml

no changes added to commit (use "git add" and/or "git commit -a")

$ git add .
$ git status
On branch 0.2.0/very-small-function
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   pyproject.toml

$ git commit -m "start dev 0.2.0"
[0.2.0/very-small-function 4ed0751] start dev 0.2.0
 1 file changed, 1 insertion(+), 1 deletion(-)
$ git push
fatal: The current branch 0.2.0/very-small-function has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin 0.2.0/very-small-function

$ git push --set-upstream origin 0.2.0/very-small-function
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 287 bytes | 287.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote:
remote: Create a pull request for '0.2.0/very-small-function' on GitHub by visiting:
remote:      https://github.com/pySatellite/hello-pysatellite/pull/new/0.2.0/very-small-function
remote:
To github.com:pySatellite/hello-pysatellite.git
 * [new branch]      0.2.0/very-small-function -> 0.2.0/very-small-function
Branch '0.2.0/very-small-function' set up to track remote branch '0.2.0/very-small-function' from 'origin'.

REF

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

hello_pysatellite-0.3.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

hello_pysatellite-0.3.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file hello_pysatellite-0.3.1.tar.gz.

File metadata

  • Download URL: hello_pysatellite-0.3.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.9.3 CPython/3.8.18

File hashes

Hashes for hello_pysatellite-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6fef0c7f2550743506e5585d5778fb638a539ff820db427c27d5956105a06083
MD5 84b0784bfaf3b74751b86bb4efdee2de
BLAKE2b-256 85e46e6ab9e9fcb4c90caa5cef4cd70fc4faeac920bf2205dfa2cd8eb400f519

See more details on using hashes here.

File details

Details for the file hello_pysatellite-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_pysatellite-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b82070aaa2391a1f3bbefd98f81a4fbc9b29968f031d0448e53594d71ea03b2d
MD5 410f1ee23eab827d39946f50ff3b6a61
BLAKE2b-256 654ecc55dbc0a34754cb4cf7ca81cc2339b78969cab749c9648080334cb518c2

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